# twix #
### Intro ###
Simple project that extracts user tweets to csv / json <br>
based on the gist of [yanofsky](https://gist.github.com/yanofsky/5436496)
### Installation ###
in your terminal:
> pip install twix
### Twitter API Keys ###
1. Go to [twitter developers](https://dev.twitter.com/)
2. Click on "Sign In" in the upper-right corner.
* There is a link to sign up under the username field if you do not already have a Twitter account.
* If you sign up for a new account, you'll have to confirm your email before you can get an API key.
3. Enter your credentials and sign in.
4. Back at [twitter developers](https://dev.twitter.com/), click on your avatar in the upper-right corner, then My Applications.
5. Click on "Create a new application".
6. Fill out the information, agree to the Rules of the Road, do the captcha, and click on "Create your Twitter application".
7. In the application page that comes up next, copy down the **Consumer key** and **Consumer secret**. This is half of the key info.
8. Click on "Create my access token" at the bottom of the application page, under "Your access token".
9. (You may have to refresh the page first) Now under "Your access token", copy down your **Access token** and **Access token secret**.
### Examples ###
```python
from twix.tweets_extractor import TweetsExtractor
te = TweetsExtractor('your_consumer_key', 'your_consumer_secret', 'your_access_token', 'your_access_token_secret')
te.get_all_tweets(screen_name='netanyahu', fmt='csv', path='../bb.csv')
```
### Contact ###
[Tal Peretz](https://www.linkedin.com/in/tal-per/)
### Intro ###
Simple project that extracts user tweets to csv / json <br>
based on the gist of [yanofsky](https://gist.github.com/yanofsky/5436496)
### Installation ###
in your terminal:
> pip install twix
### Twitter API Keys ###
1. Go to [twitter developers](https://dev.twitter.com/)
2. Click on "Sign In" in the upper-right corner.
* There is a link to sign up under the username field if you do not already have a Twitter account.
* If you sign up for a new account, you'll have to confirm your email before you can get an API key.
3. Enter your credentials and sign in.
4. Back at [twitter developers](https://dev.twitter.com/), click on your avatar in the upper-right corner, then My Applications.
5. Click on "Create a new application".
6. Fill out the information, agree to the Rules of the Road, do the captcha, and click on "Create your Twitter application".
7. In the application page that comes up next, copy down the **Consumer key** and **Consumer secret**. This is half of the key info.
8. Click on "Create my access token" at the bottom of the application page, under "Your access token".
9. (You may have to refresh the page first) Now under "Your access token", copy down your **Access token** and **Access token secret**.
### Examples ###
```python
from twix.tweets_extractor import TweetsExtractor
te = TweetsExtractor('your_consumer_key', 'your_consumer_secret', 'your_access_token', 'your_access_token_secret')
te.get_all_tweets(screen_name='netanyahu', fmt='csv', path='../bb.csv')
```
### Contact ###
[Tal Peretz](https://www.linkedin.com/in/tal-per/)
Metadata
Release files for twix 1.0.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 | |
|---|---|---|---|---|
| twix-1.0.0.tar.gz | 3.3 kB | Without provenance | Details |
Release files / twix-1.0.0.tar.gz
| Download URL | twix-1.0.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6ad4bb4ddd5d53bbe2c1cc72695b8a47d1f5411af4d57ecefbe71998cb5b95f
|
|
BLAKE2b-256 checksum How to use checksums |
0f80e70ded011e1d7787822b5fa5140bbbf30eb0ebf43259f30a89a76378d562
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for twix 1.0.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.