From 6b6ea6c8d1b00929d88f6c28f8f57ac0ac0997a6 Mon Sep 17 00:00:00 2001 From: Duncan Ireri <39834716+Duncan-Ireri@users.noreply.github.com> Date: Mon, 15 Aug 2022 20:52:51 +0300 Subject: [PATCH 1/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a1c5a9..18a0846 100644 --- a/README.md +++ b/README.md @@ -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 From cf2bef646147458fcef4d6a85316e1dd66d4b047 Mon Sep 17 00:00:00 2001 From: SanipRijal Date: Fri, 16 Dec 2022 16:39:11 +0545 Subject: [PATCH 2/7] rename beyonic.com to mfsafrica.com --- README.md | 2 +- beyonic/__init__.py | 2 +- build/lib/beyonic/__init__.py | 2 +- cover/beyonic.html | 10 +++++----- setup.py | 6 +++--- ...ion_request_create_with_dict_notation_metadata.json | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 18a0846..ac5d70c 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://mfsafrica.com API ## Installation diff --git a/beyonic/__init__.py b/beyonic/__init__.py index 0dd4bc8..edeed7a 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.mfsafrica.com/api/' # Config api_key = None 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 

-

DEFAULT_ENDPOINT_BASE = 'https://app.beyonic.com/api/' 

+

DEFAULT_ENDPOINT_BASE = 'https://api.mfsafrica.com/api/' 

 

#config 

api_key = None 

@@ -92,10 +92,10 @@

verify_ssl_certs = True #set to False if you want to bypass SSL checks(mostly useful while testing it on local env). 

 

 

-

from beyonic.apis.payment import Payment 

-

from beyonic.apis.webhook import Webhook 

-

from beyonic.apis.collection import Collection 

-

from beyonic.apis.collectionrequest import CollectionRequest 

+

from MfsAfrica.apis.payment import Payment 

+

from MfsAfrica.apis.webhook import Webhook 

+

from MfsAfrica.apis.collection import Collection 

+

from MfsAfrica.apis.collectionrequest import CollectionRequest 

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" From a6efc8db9fd82c5952b0a63f95ddf46ccbc77a7a Mon Sep 17 00:00:00 2001 From: SanipRijal Date: Mon, 27 Mar 2023 16:33:37 +0545 Subject: [PATCH 3/7] Change test script to use coverage instead of nose as it has been depreciated --- DEVELOPMENT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ............................................................................... ``` From 3f10ebd988ac065179f49a0cd0f1f75bb466739c Mon Sep 17 00:00:00 2001 From: SanipRijal Date: Mon, 27 Mar 2023 16:37:11 +0545 Subject: [PATCH 4/7] Increase version number --- beyonic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beyonic/__init__.py b/beyonic/__init__.py index edeed7a..aa4a666 100644 --- a/beyonic/__init__.py +++ b/beyonic/__init__.py @@ -21,4 +21,4 @@ from beyonic.apis.currency import Currency from beyonic.apis.bank import Bank -__version__ = "0.1.16" +__version__ = "0.1.17" From 472b824878b45957b4631daded02295ff5b99131 Mon Sep 17 00:00:00 2001 From: SanipRijal Date: Fri, 31 May 2024 17:41:57 +0545 Subject: [PATCH 5/7] change api endpoint to api.onafriq.com --- beyonic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beyonic/__init__.py b/beyonic/__init__.py index aa4a666..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://api.mfsafrica.com/api/' +DEFAULT_ENDPOINT_BASE = 'https://api.onafriq.com/api/' # Config api_key = None From 13adc3e00f1b0ac4b2d572e6879690424523a99f Mon Sep 17 00:00:00 2001 From: DuncanIreri Date: Thu, 6 Jun 2024 16:16:08 +0300 Subject: [PATCH 6/7] updated api URL --- beyonic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beyonic/__init__.py b/beyonic/__init__.py index aa4a666..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://api.mfsafrica.com/api/' +DEFAULT_ENDPOINT_BASE = 'https://api.onafriq.com/api/' # Config api_key = None From 029650fbeb2e8bc1d27e0b78a4da2090b3ba7edd Mon Sep 17 00:00:00 2001 From: DuncanIreri Date: Thu, 6 Jun 2024 16:25:08 +0300 Subject: [PATCH 7/7] Updated README.md for new URL --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ac5d70c..5b73880 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Beyonic Python Library -The official Python library for interacting with http://mfsafrica.com API +The official Python library for interacting with http://portal.onafriq.com API ## Installation