{"id":19710376,"url":"https://github.com/blueromans/xoxoday","last_synced_at":"2025-04-29T17:31:13.066Z","repository":{"id":178263644,"uuid":"654254041","full_name":"blueromans/XoxoDay","owner":"blueromans","description":"XoxoDay Api Client Python PyPackage","archived":false,"fork":false,"pushed_at":"2023-07-28T07:52:45.000Z","size":22,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T12:23:08.063Z","etag":null,"topics":["api-client","api-rest","json-api","payment-gateway","python","python3","redeem","requests","xoxoday"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blueromans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-15T18:04:34.000Z","updated_at":"2023-11-23T19:19:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"26c15585-db2d-4fd2-a95d-649fdec57a81","html_url":"https://github.com/blueromans/XoxoDay","commit_stats":{"total_commits":17,"total_committers":2,"mean_commits":8.5,"dds":0.05882352941176472,"last_synced_commit":"8dee2c6565061ad5d24396d9b96527ef9a78d454"},"previous_names":["blueromans/xoxoday"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueromans%2FXoxoDay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueromans%2FXoxoDay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueromans%2FXoxoDay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blueromans%2FXoxoDay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blueromans","download_url":"https://codeload.github.com/blueromans/XoxoDay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251549185,"owners_count":21607367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","api-rest","json-api","payment-gateway","python","python3","redeem","requests","xoxoday"],"created_at":"2024-11-11T22:07:13.413Z","updated_at":"2025-04-29T17:31:12.691Z","avatar_url":"https://github.com/blueromans.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI version](https://img.shields.io/pypi/v/XoxoDay.svg)](https://pypi.python.org/pypi/XoxoDay)\n\n# XoxoDay Api Client Python PyPackage\n\nXoxoDay Api Client is a Python library to access services quickly.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.\n\n```bash\npip install XoxoDay\n```\n## Environment Variables\n\n```bash\nXOXODAY_ENV = 'dev|prod'\nXOXODAY_ACCESS_TOKEN = 'access_token'\nXOXODAY_REFRESH_TOKEN = 'refresh_token'\nXOXODAY_CLIENT_ID = 'client_id'\nXOXODAY_CLIENT_SECRET = 'client_secret'\n```\n### Note\nIf you don't want to set this variables from global environment you can pass them to class.\nYou can see usage below\n## Usage\n\n```python\nfrom XoxoDay import XoxoDayService\n\nkwargs = {\n    # you can also set XoxoDay environment from environment.\n    'environment': 'dev|prod',  # Default value : dev\n    'access_token': 'XoxoDay Access Token',  # Default value : None\n    'refresh_token': 'XoxoDay Refresh Token',  # Default value : None\n    'client_id': 'XoxoDay Client Id',  # Default value : None\n    'client_secret': 'XoxoDay Client Secret',  # Default value : None\n}\n# Initialize client with\nXoxoDay_service = XoxoDayService()\n# or XoxoDay_service = XoxoDayService(**kwargs)\n\n# Get Vouchers\n#filters = [{\"key\": \"productName\", \"value\": \"Paypal International\"}]\n#includeProducts= \"productId\"\nfunding_source = XoxoDay_service.getVouchers(filters=None, includeProducts=None)\n\n# Place Order\norder = XoxoDay_service.placeOrder(email=\"xoxo@mail.com\",  productId='productId', denomination='amount', poNumber=\"Unique Number for Order\")\n\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueromans%2Fxoxoday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblueromans%2Fxoxoday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblueromans%2Fxoxoday/lists"}