Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/edsu/twitter-labs

This is a personal playground for experimenting with the Twitter Labs API.
https://github.com/edsu/twitter-labs

Last synced: about 2 months ago
JSON representation

This is a personal playground for experimenting with the Twitter Labs API.

Awesome Lists containing this project

README

        

This is a personal playground for working with the [Twitter Labs API]. The idea
is to hopefully inform future development of [twarc] rather than being useful in
itself.

To get started create generate your Twitter OAuth2 token.

TWITTER_CONSUMER_KEY="changme" TWITTER_CONSUMER_SECRET="changme" ./key.py

This should have created a `config.py` file containing your token.

Now you can do a search:

./search.py obama > search.json

[Twitter Labs API]: https://developer.twitter.com/en/docs/labs/overview/introduction
[twarc]: https://twitter.com/docnow/twarc