An open API service indexing awesome lists of open source software.

https://github.com/fergm/twitter-tools

Toolkit for working with the twitter API
https://github.com/fergm/twitter-tools

Last synced: 18 days ago
JSON representation

Toolkit for working with the twitter API

Awesome Lists containing this project

README

          

# Twitter Tools
Toolkit for working with the twitter API.

Builds on top of [`Twitter-API-v2-sample-code`](https://github.com/twitterdev/Twitter-API-v2-sample-code).

### Examples
See [Notebooks](./notebooks/)

### Setup
You need to get a token from twitter to authenticate requests to the api.

This repository assumes that you have made `TWITTER_BEARER_TOKEN` available as an environment variable.

Steps:
1. Create an accound on the [Twitter Developer Portal](https://developer.twitter.com/en/portal/dashboard)
2. Create a project and get a *Bearer Token*
3. Add the *Bearer Token* as an environment variable called `TWITTER_BEARER_TOKEN`