File tree Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Expand file tree Collapse file tree 4 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ from xivapi.models import Filter, Sort
5858
5959
6060async def fetch_example_results (session ):
61- client = xivapi.Client (session = session, api_key = " your_key_here" )
61+ client = xivapi.XIVAPIClient (session = session, api_key = " your_key_here" )
6262
6363 # Search Lodestone for a character
6464 character = await client.character_search(
Original file line number Diff line number Diff line change 1- import pathlib
21import re
32
43import setuptools
54
6-
7- ROOT = pathlib .Path (__file__ ).parent
8-
9- with open (ROOT / 'requirements.txt' , encoding = 'utf-8' ) as f :
5+ with open ('requirements.txt' ) as f :
106 REQUIREMENTS = f .readlines ()
117
12- with open (ROOT / 'README.md' , encoding = 'utf-8 ' ) as f :
8+ with open ('README.md' ) as f :
139 README = f .read ()
1410
15- with open (ROOT / 'xivapi' / ' __init__.py' , encoding = 'utf-8 ' ) as f :
11+ with open ('xivapi/ __init__.py' ) as f :
1612 VERSION = re .search (r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]' , f .read (), re .MULTILINE ).group (1 )
1713
1814setuptools .setup (
1915 name = 'xivapi-py' ,
2016 author = 'Lethys' ,
17+ author_email = 'seraymericbot@gmail.com' ,
2118 url = 'https://github.com/xivapi/xivapi-py' ,
2219 version = VERSION ,
2320 license = 'MIT' ,
Original file line number Diff line number Diff line change 22__author__ = 'Lethys'
33__license__ = 'MIT'
44__copyright__ = 'Copyright 2019 (c) Lethys'
5- __version__ = '0.1.3 '
5+ __version__ = '0.1.4 '
66
7- from .client import Client
7+ from .client import XIVAPIClient
88from .exceptions import *
Original file line number Diff line number Diff line change 88__log__ = logging .getLogger (__name__ )
99
1010
11- class Client :
11+ class XIVAPIClient :
1212 """
1313 Asynchronous client for accessing XIVAPI's endpoints.
1414 Parameters
You can’t perform that action at this time.
0 commit comments