Skip to content

Commit

Permalink
Merge pull request #17 from clvrk/dev
Browse files Browse the repository at this point in the history
Fully fixed init file + deleteg github workflows
  • Loading branch information
firstaidguyheru authored Apr 12, 2021
2 parents cb79c38 + f6367b0 commit a5fb57e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 43 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/python-publish.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import cocktaildb

# This is in literally a list, not in the form of a dict or string
async def list_of_categories():
return await cocktaildb.categories()
return await cocktaildb.categories()
```
There are more functions such as glasses() and ingredients().

Expand Down
14 changes: 5 additions & 9 deletions cocktaildb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import aiohttp
from requests import Reqs
from cocktaildb import search, categories, ingredients, glasses

async def tequila_info():
return await search(query='tequila')

async def list_of_categories():
return await cocktaildb.categories()
from .reqs import Reqs
from .cocktaildb import search
from .cocktaildb import ingredients
from .cocktaildb import glasses
from .cocktaildb import categories
2 changes: 1 addition & 1 deletion cocktaildb/cocktaildb.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from requests import Reqs
from .reqs import Reqs

"""Function responsible for getting data from https://www.thecocktaildb.com/api.php"""

Expand Down
File renamed without changes.
Empty file added python
Empty file.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
author='clvrk',
author_email="[email protected]",
url="https://github.com/clvrk/cocktail-wrapper",
version='1.0.0',
version='1.0.4',
packages=['cocktaildb'],
python_requires=">= 3.6",
include_package_data=True,
Expand Down

0 comments on commit a5fb57e

Please sign in to comment.