ventilaar
/
twitter_zuil
Archived
1
Fork 0

updated readme with current libraries and database connector

This commit is contained in:
ventilaar 2020-10-29 15:16:35 +01:00
parent 1925aeee25
commit c5856a40a4
1 changed files with 16 additions and 1 deletions

View File

@ -43,7 +43,20 @@ Yes we're gonna use some libraries while I'm a minimalist, but the Oauth1.0a API
- TwitterAPI (by Geduldig, looks pretty maintained)
- requests (Kenneth Reitz, voor de OWM API)
- flask (voor de web backend)
- psycopg2
- psycopg2 (for database connection)
- Kivy (voor desktop gui)
## database_connector
database_connector.py defines connectio to the postgresql database, here you can change variables.
to import into the script just use
```
import database_connector
conn = database_connector.conn
cur = database_connector.cur
```
## api keys
@ -60,4 +73,6 @@ OWM_KEY
## API docs
- https://openweathermap.org/current
- https://developer.twitter.com/en/docs/twitter-api
- https://kivy.org/doc/stable/
- https://flask.palletsprojects.com/en/1.1.x/