Card Generator is a simple tool for generating test/sample card numbers. It returns a list of card numbers for testing.
Project description
Card Generator API
Card Generator is a simple tool for generating test/sample card numbers. It returns a list of card numbers for testing.
This is a Python API Wrapper for the Card Generator API
Installation
pip install apiverve-cardgenerator
Configuration
Before using the cardgenerator API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com
Usage
The Card Generator API documentation is found here: https://docs.apiverve.com/api/cardgenerator.
You can find parameters, example responses, and status codes documented here.
Setup
# Import the client module
from apiverve_cardgenerator.apiClient import CardgeneratorAPIClient
# Initialize the client with your APIVerve API key
api = CardgeneratorAPIClient("[YOUR_API_KEY]")
Perform Request
Using the API client, you can perform requests to the API.
Define Query
query = { "brand": "visa", "count": 5 }
Simple Request
# Make a request to the API
result = api.execute(query)
# Print the result
print(result)
Example Response
{
"status": "ok",
"error": null,
"data": {
"brand": "visa",
"count": 5,
"cards": [
{
"cvv": 678,
"issuer": "NATIONAL BANK FOR FOREIGN ECONOMIC ACTIVITY OF THE REPUBLIC OF UZBEKISTAN",
"number": "4916644322954470",
"expiration": "2029-07-17T15:16:37.415Z",
"brand": "visa",
"number_alt": "4916 6443 2295 4470"
},
{
"cvv": 708,
"issuer": "ICBA BANCARD",
"number": "4292213544129404",
"expiration": "2029-07-17T15:16:37.423Z",
"brand": "visa",
"number_alt": "4292 2135 4412 9404"
},
{
"cvv": 291,
"issuer": "INTRUST BANK, N.A.",
"number": "4648034625200190",
"expiration": "2029-07-17T15:16:37.426Z",
"brand": "visa",
"number_alt": "4648 0346 2520 0190"
},
{
"cvv": 367,
"issuer": "ICBA BANKCARD, INC.",
"number": "4774253677918501",
"expiration": "2029-07-17T15:16:37.428Z",
"brand": "visa",
"number_alt": "4774 2536 7791 8501"
},
{
"cvv": 913,
"issuer": "ASPIRE F.C.U.",
"number": "4035127043750985",
"expiration": "2029-07-17T15:16:37.432Z",
"brand": "visa",
"number_alt": "4035 1270 4375 0985"
}
],
"owner": {
"name": "Salvatore Hudson",
"address": {
"street": "7097 Reed Isle",
"city": "West Vernon",
"state": "Minnesota",
"zipCode": "99593"
}
}
}
}
Customer Support
Need any assistance? Get in touch with Customer Support.
Updates
Stay up to date by following @apiverveHQ on Twitter.
Legal
All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.
License
Licensed under the The MIT License (MIT)
Copyright (©) 2024 APIVerve, and Evlar LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file apiverve_cardgenerator-1.1.2.tar.gz
.
File metadata
- Download URL: apiverve_cardgenerator-1.1.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff40bae00742bef8d1c9356b34cdf79940fe46d434ca50c8225011c67a25235b |
|
MD5 | ce49a6661f7c203da03816e65fb9104a |
|
BLAKE2b-256 | d1baae7926275c437bc96e4da9cb919f2d9688eb84c0d6837a99b5b5fa7f54d1 |
File details
Details for the file apiverve_cardgenerator-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: apiverve_cardgenerator-1.1.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 421015763b6a6bfc6d0f9f72a62dc1c03e9e5b6623f364db2c6fd658b92c1e81 |
|
MD5 | 9041292c4e16e1de5b8ccc8e92763855 |
|
BLAKE2b-256 | 2351630fc9f64cbbb284fa5b94e73ddeb73ae5b702b76feb0bbf33f01b47616b |