Skip to content

Commit

Permalink
readme and .env
Browse files Browse the repository at this point in the history
  • Loading branch information
yu23ki14 committed Jul 9, 2024
1 parent 3b51ff1 commit 83eb85a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions etl/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
X_BEARER_TOKEN=
24 changes: 24 additions & 0 deletions etl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# BirdXplorer ETL

This is an ETL to get and process data of community notes and X posts, in order to prepare API.

## Setup development environment

### Set setting variables

```
$ cp .env.example .env
```

| Key | Description |
| -------------- | ----------------------- |
| X_BEARER_TOKEN | API key for Twitter API |

### Run

```
$ pwd
/your_dir/BirdXplorer/etl
$ pip install .
$ python src/birdxplorer_etl/main.py
```

0 comments on commit 83eb85a

Please sign in to comment.