Compare commits
5 Commits
bcbf14d1aa
...
709d1dea65
Author | SHA1 | Date |
---|---|---|
simon | 709d1dea65 | |
simon | 967e8f37f6 | |
simon | 17980b6940 | |
simon | 278270468c | |
simon | 0c753a079c |
|
@ -6,6 +6,7 @@ notes.md
|
||||||
|
|
||||||
# builds
|
# builds
|
||||||
dist/
|
dist/
|
||||||
|
build/
|
||||||
ryd_client.egg-info/
|
ryd_client.egg-info/
|
||||||
|
|
||||||
# cache
|
# cache
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
# RYD Client
|
|
||||||
Python client library for the **Return YouTube Dislike API**:
|
|
||||||
|
|
||||||
- [https://returnyoutubedislike.com/](https://returnyoutubedislike.com/)
|
|
||||||
- [https://github.com/Anarios/return-youtube-dislike/](https://github.com/Anarios/return-youtube-dislike/)
|
|
||||||
|
|
||||||
|
|
||||||
Documentation and usage examples are on [GitHub](https://github.com/bbilly1/ryd-client).
|
|
4
build.sh
4
build.sh
|
@ -40,12 +40,12 @@ function publish {
|
||||||
read -r VERSION
|
read -r VERSION
|
||||||
echo "$VERSION"
|
echo "$VERSION"
|
||||||
|
|
||||||
git push all
|
git push
|
||||||
find dist/ -type f ! -name "*$VERSION*" -exec trash {} \;
|
find dist/ -type f ! -name "*$VERSION*" -exec trash {} \;
|
||||||
python -m build
|
python -m build
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
git tag -a "$VERSION" -m "new release version $VERSION"
|
git tag -a "$VERSION" -m "new release version $VERSION"
|
||||||
git push all "$VERSION"
|
git push "$VERSION"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $1 == "publish" ]]; then
|
if [[ $1 == "publish" ]]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ from time import sleep
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
API_URL = "https://returnyoutubedislikeapi.com"
|
API_URL = "https://returnyoutubedislikeapi.com"
|
||||||
HEADERS = {"User-Agent": "https://github.com/bbilly1/ryd-client v0.0.3"}
|
HEADERS = {"User-Agent": "https://github.com/bbilly1/ryd-client v0.0.5"}
|
||||||
|
|
||||||
|
|
||||||
class Login:
|
class Login:
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -2,12 +2,12 @@
|
||||||
|
|
||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with open("README_SHORT.md", "r", encoding="utf-8") as fh:
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||||||
long_description = fh.read()
|
long_description = fh.read()
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="ryd-client",
|
name="ryd-client",
|
||||||
version="0.0.3",
|
version="0.0.5",
|
||||||
author="Simon",
|
author="Simon",
|
||||||
author_email="simobilleter@gmail.com",
|
author_email="simobilleter@gmail.com",
|
||||||
description="api client for returnyoutubedislike.com",
|
description="api client for returnyoutubedislike.com",
|
||||||
|
|
Loading…
Reference in New Issue