[](https://travis-ci.org/ramusus/django-twitter-api) [](https://coveralls.io/r/ramusus/django-twitter-api)
Application for interacting with Twitter API objects using Django model interface
## Installation
pip install django-twitter-api
Add into `settings.py` lines:
INSTALLED_APPS = (
...
'oauth_tokens',
'twitter-api',
)
# oauth-tokens settings
OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens
OAUTH_TOKENS_TWITTER_CLIENT_ID = '' # application ID
OAUTH_TOKENS_TWITTER_CLIENT_SECRET = '' # application secret key
OAUTH_TOKENS_TWITTER_USERNAME = '' # user login
OAUTH_TOKENS_TWITTER_PASSWORD = '' # user password
## Usage examples
### Simple API Graph request
>>> from facebook_api.utils import graph
>>> graph('zuck')
Node(<Graph(u'https://graph.facebook.com/zuck') at 0xb1cbfac>,
{'first_name': 'Mark',
'gender': 'male',
'id': '4',
'last_name': 'Zuckerberg',
'link': 'http://www.facebook.com/zuck',
'locale': 'en_US',
'name': 'Mark Zuckerberg',
'updated_time': '2013-03-13T20:36:43+0000',
'username': 'zuck'})
>>> graph('zuck', fields='id,name')
Node(<Graph(u'https://graph.facebook.com/zuck') at 0xb1d2a8c>,
{'id': '4', 'name': 'Mark Zuckerberg'})
Metadata
Release files for django-twitter-api 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-twitter-api-0.1.0.tar.gz | 28.0 kB | Without provenance | Details for django-twitter-api-0.1.0.tar.gz |
Release files / django-twitter-api-0.1.0.tar.gz
| Download URL | django-twitter-api-0.1.0.tar.gz |
|---|---|
| Size | 28.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
807fc2a69d29a5461b6ba93262f5a07cffa7529f2558b4448d67a99ea9a00c42
|
|
BLAKE2b-256 checksum How to use checksums |
81d3ec8ff4e8bfc571b3ae6c8d650362c30db265fac990ffb68324d03b7a1f70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-twitter-api 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.