Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyohei/oshogatsu
ππ
Tweet the days for next New Year! ππΆ
https://github.com/pyohei/oshogatsu
newyear python27 python36 twitter
Last synced: about 16 hours ago
JSON representation
ππ Tweet the days for next New Year! ππΆ
- Host: GitHub
- URL: https://github.com/pyohei/oshogatsu
- Owner: pyohei
- License: mit
- Created: 2016-10-23T13:57:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-27T13:59:18.000Z (over 7 years ago)
- Last Synced: 2024-10-23T22:20:22.382Z (15 days ago)
- Topics: newyear, python27, python36, twitter
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oshogatsu
Tweet remaining days for next New Year days.
This tweet inspired Japanese song, which starts from γγγΌγγγ€γγΌγγ¨γΌγγγγγΌγγ€γγ## Python version
I checked the below version,
* 2.7.10
* 3.6.1## Usage
You set twitter consumer key and access key in environment values.
The below is sample.```bash
export TWITTER_COMSUMER_KEY=xxxxxx
export TWITTER_CONSUMER_SECRET=xxxxxxx
export TWITTER_ACCESS_KEY=xxxxxxxx
export TWITTER_ACCESS_SECRET=xxxxxxxx
```After setting, you can tweet as follows,
```python
python2.7 tweet.py
```## Attention
If you tweet twice in same day, Twitter API return error.
So you have to delete previous tweet.## Licence
MIT