Promoted pypo to top level because it isnt 3rd party.
Removed the portage stuff since it is way outdated.
This commit is contained in:
parent
4300fd8d36
commit
51a1fde9ee
82 changed files with 0 additions and 6013 deletions
9
pypo/api_clients/api_client_factory.py
Normal file
9
pypo/api_clients/api_client_factory.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
import campcaster_api_client
|
||||
import obp_api_client
|
||||
|
||||
def create_api_client(config):
|
||||
if config["api_client"] == "campcaster":
|
||||
return campcaster_api_client.CampcasterApiClient(config)
|
||||
elif config["api_client"] == "obp":
|
||||
return obp_api_client.ObpApiClient(config)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue