diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 6f90fa1..7259d33 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -18,7 +18,7 @@ To create new api model you should perform below mentioned steps: ```sh -$ nosetests --with-coverage --cover-html --cover-package=beyonic +$ coverage run -m pytest --cov=beyonic ............................................................................... ``` diff --git a/README.md b/README.md index 8a1c5a9..5b73880 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Beyonic Python Library -The official Python library for interacting with http://beyonic.com API +The official Python library for interacting with http://portal.onafriq.com API ## Installation @@ -26,7 +26,7 @@ python setup.py install ## Usage -Please visit https://apidocs.beyonic.com/ for usage documentation +Please visit https://developer.mfsafrica.com/docs for usage documentation ## Development diff --git a/beyonic/__init__.py b/beyonic/__init__.py index 0dd4bc8..f5f8b7b 100644 --- a/beyonic/__init__.py +++ b/beyonic/__init__.py @@ -1,7 +1,7 @@ # Beyonic API Python bindings # Default values if any -DEFAULT_ENDPOINT_BASE = 'https://app.beyonic.com/api/' +DEFAULT_ENDPOINT_BASE = 'https://api.onafriq.com/api/' # Config api_key = None @@ -21,4 +21,4 @@ from beyonic.apis.currency import Currency from beyonic.apis.bank import Bank -__version__ = "0.1.16" +__version__ = "0.1.17" diff --git a/build/lib/beyonic/__init__.py b/build/lib/beyonic/__init__.py index 0ecd44b..1e48914 100644 --- a/build/lib/beyonic/__init__.py +++ b/build/lib/beyonic/__init__.py @@ -1,7 +1,7 @@ # Beyonic API Python bindings # Default values if any -DEFAULT_ENDPOINT_BASE = 'https://app.beyonic.com/api/' +DEFAULT_ENDPOINT_BASE = 'https://api.mfsafrica.com/api/' # Config api_key = None diff --git a/cover/beyonic.html b/cover/beyonic.html index 7e42a2a..681987c 100644 --- a/cover/beyonic.html +++ b/cover/beyonic.html @@ -83,7 +83,7 @@
# Beyonic API Python bindings
#default values if any
- +
#config
@@ -92,10 +92,10 @@
- - - - + + + + diff --git a/setup.py b/setup.py index 40a1ad0..35ba841 100644 --- a/setup.py +++ b/setup.py @@ -19,16 +19,16 @@ def read(*rnames): setup( name="beyonic", version=VERSION, - description="The official Python client for the Beyonic.com API", + description="The official Python client for the MfsAfrica.com API", author="Beyonic", - author_email="info@beyonic.com", + author_email="info@mfsafrica.com", long_description=long_description, long_description_content_type='text/markdown', packages=["beyonic", "beyonic.apis"], install_requires=["requests"], license="MIT", keywords=["api", "mobile payments", "mobile money", "beyonic", "mpesa"], - url="https://beyonic.com", + url="https://mfsafrica.com", classifiers=[ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", diff --git a/vcr_cassettes/collection_request_create_with_dict_notation_metadata.json b/vcr_cassettes/collection_request_create_with_dict_notation_metadata.json index e12dfb0..2eadc71 100644 --- a/vcr_cassettes/collection_request_create_with_dict_notation_metadata.json +++ b/vcr_cassettes/collection_request_create_with_dict_notation_metadata.json @@ -46,7 +46,7 @@ "1; mode=block" ], "content-security-policy": [ - "script-src 'self' *.googleapis.com *.bootstrapcdn.com *.cloudflare.com *.jsdelivr.net beyonic.atlassian.net 'unsafe-inline' 'unsafe-eval' *.google-analytics.com *.newrelic.com bam.nr-data.net; img-src 'self' *.bootstrapcdn.com *.cloudflare.com secure.gravatar.com data: blob: *.openstreetmap.org *.google-analytics.com; default-src 'self'; frame-src 'self' beyonic.atlassian.net; style-src 'self' *.googleapis.com *.bootstrapcdn.com *.cloudflare.com 'unsafe-inline' cdn.jsdelivr.net; media-src 'self'; connect-src 'self'; font-src 'self' *.bootstrapcdn.com data:; report-uri /reports/csp-report/" + "script-src 'self' *.googleapis.com *.bootstrapcdn.com *.cloudflare.com *.jsdelivr.net mfsafrica.atlassian.net 'unsafe-inline' 'unsafe-eval' *.google-analytics.com *.newrelic.com bam.nr-data.net; img-src 'self' *.bootstrapcdn.com *.cloudflare.com secure.gravatar.com data: blob: *.openstreetmap.org *.google-analytics.com; default-src 'self'; frame-src 'self' beyonic.atlassian.net; style-src 'self' *.googleapis.com *.bootstrapcdn.com *.cloudflare.com 'unsafe-inline' cdn.jsdelivr.net; media-src 'self'; connect-src 'self'; font-src 'self' *.bootstrapcdn.com data:; report-uri /reports/csp-report/" ], "content-language": [ "en"