File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 6
6
7
7
setuptools .setup (
8
8
name = "wibuapi" ,
9
- version = "0.1.7 " ,
9
+ version = "0.1.8 " ,
10
10
description = "Official Sync and Async Python Wrapper for Wibu API." ,
11
11
long_description = long_description ,
12
12
long_description_content_type = "text/markdown" ,
Original file line number Diff line number Diff line change 5
5
6
6
7
7
class WibuAPI :
8
- def __init__ (self , apikey : str = "" ):
9
- self .base_url = "https://wibu-api.eu.org/api"
8
+ def __init__ (self , base_url : str , apikey : str = "" ):
9
+ self .base_url = base_url
10
10
self .deprecated_url = "https://api.wibu-api.eu.org/api"
11
11
self .headers = {"x-wibu-key" : apikey }
12
12
Original file line number Diff line number Diff line change 5
5
6
6
7
7
class AsyncWibuAPI :
8
- def __init__ (self , apikey : str = "" ):
9
- self .base_url = "https://wibu-api.eu.org/api"
8
+ def __init__ (self , base_url : str , apikey : str = "" ):
9
+ self .base_url = base_url
10
10
self .deprecated_url = "https://api.wibu-api.eu.org/api"
11
11
self .headers = {"x-wibu-key" : apikey }
12
12
Original file line number Diff line number Diff line change 5
5
6
6
7
7
class Etc :
8
- def __init__ (self ):
9
- self .base_url = "https://wibu-api.eu.org/api"
8
+ def __init__ (self , base_url : str ):
9
+ self .base_url = base_url
10
10
self .deprecated_url = "https://api.wibu-api.eu.org/api"
11
11
12
12
def stats (self ):
You can’t perform that action at this time.
0 commit comments