https://github.com/thealphadollar/nxdraft
NxDraft does exactly what the name suggests; it creates N drafts from one.
https://github.com/thealphadollar/nxdraft
gmail google-python-api requests rest-api webapp
Last synced: 10 months ago
JSON representation
NxDraft does exactly what the name suggests; it creates N drafts from one.
- Host: GitHub
- URL: https://github.com/thealphadollar/nxdraft
- Owner: thealphadollar
- License: mit
- Created: 2018-11-03T15:25:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T08:35:08.000Z (about 3 years ago)
- Last Synced: 2025-04-03T10:22:12.671Z (about 1 year ago)
- Topics: gmail, google-python-api, requests, rest-api, webapp
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 6
- Watchers: 1
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# NxDraft
[](https://gitter.im/NxDraft/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
NxDraft does exactly what the name suggests; it creats N drafts from one.
## To Use
The client uses pipenv and google-api-python-client for it's working.
### First Run
Below are the steps on how to use it **for the first time**:
- `pip install pipenv`
- go to project directory and run `pipenv shell --three`
- install all dependencies
`pipenv install`
- run the project and follow the CLI
`python3 nxdraft/api.py`
NOTE: The browser authentication is required only once, after that the secrets
are stored and used \[forever\].
### Consecutive Run
Below are the steps that need to be followed if you've already ran the program once.
- `cd /to/project/directory`
- `pipenv shell`
- `python3 nxdraft/api.py`
The virtual environment created in first step is used here :)
## Reset Account
To attach a new account and remove the authentication for the previous one, please delete the credentials file using
the following command.
```
rm ~/.nxdraftauth
```
## Contributing
Please read CONTRIBUTING.md guide to know more.