November's Paddleball Marathon

    @aspida/twitter
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.0 • Public • Published

    Installation

    $ npm install axios @aspida/twitter

    Usage

    import axios from "axios"
    import api, { mock } from "@aspida/twitter"
    
    axios.defaults.headers = { token: "YOUR TOKEN" }
    
    if (process.env.NODE_ENV !== "production") {
      mock()
    }
    
    ;(async () => {
      const tweet = await api().$1_1.collections.entries_json.$get({
        params: { id: "custom-539487832448843776" }
      })
    
      console.log(tweet)
    })()

    Keywords

    none

    Install

    npm i @aspida/twitter

    DownloadsWeekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    25 kB

    Total Files

    18

    Last publish

    Collaborators

    • lumax
    • m-mitsuhide
    • solufa