{"id":19725051,"url":"https://github.com/seanpianka/aws-incentives-api-rs","last_synced_at":"2026-04-11T21:02:37.177Z","repository":{"id":138019431,"uuid":"360386284","full_name":"seanpianka/aws-incentives-api-rs","owner":"seanpianka","description":"A Rust service for using the Amazon Gift Card API","archived":false,"fork":false,"pushed_at":"2021-04-22T03:59:58.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-15T15:00:05.033Z","etag":null,"topics":["api","aws","incentives","rust","service"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seanpianka.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-22T03:57:50.000Z","updated_at":"2024-01-11T10:45:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fb1abae-146e-4816-84fa-9de2c1c140b2","html_url":"https://github.com/seanpianka/aws-incentives-api-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seanpianka/aws-incentives-api-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpianka%2Faws-incentives-api-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpianka%2Faws-incentives-api-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpianka%2Faws-incentives-api-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpianka%2Faws-incentives-api-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seanpianka","download_url":"https://codeload.github.com/seanpianka/aws-incentives-api-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seanpianka%2Faws-incentives-api-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31695165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T20:18:30.949Z","status":"ssl_error","status_checked_at":"2026-04-11T20:18:29.982Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","aws","incentives","rust","service"],"created_at":"2024-11-11T23:27:59.934Z","updated_at":"2026-04-11T21:02:37.156Z","avatar_url":"https://github.com/seanpianka.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Incentives API\n\nA Rust service for using the [Amazon Gift Card API](https://developer.amazon.com/incentives-api) (aka. Amazon Incentives API) to generate Amazon gift cards. \n\nThis library implements the [AWS Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html) signature algorithm.\n\n\u003e \"Every request to an endpoint of the Incentives API must be digitally signed using your Incentives API security credentials and the Signature Version 4 signature algorithm. Signing correctly using Signature Version 4 can be the toughest hurdle when calling Incentives API endpoints.\"\n\u003e - https://developer.amazon.com/docs/incentives-api/incentives-api.html\n\n# Usage\n\nUsing the service is simple. Instantiate the service with the following credentials, then call the `.generate()` method to generate a new giftcard code:\n* PartnerID\n* AWS Incentives API Access Key\n* AWS Incentives API Secret Key\n* AWS Incentives API Hostname\n* AWS Incentives API URL\n\n```rust\nlet service = new_service(\n    \"PartnerID\".to_string(),\n    \"AccessKey\".to_string(),\n    \"SecretKey\".to_string(),\n    \"agcod-v2-gamma.amazon.com\".to_string(),         // Sandbox Host\n    \"https://agcod-v2-gamma.amazon.com\".to_string(), // Sandbox URL\n    \"us-east-1\",                                     // AWS Region\n);\nlet giftcard_code = match service.generate().await {\n    Ok(code) =\u003e {\n        println!(\"successfully generated a giftcard code: {}\", code)\n    }\n    Err(err) =\u003e {\n        panic!(\"failed to generate giftcard code: {}\", err)\n    }\n};\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanpianka%2Faws-incentives-api-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseanpianka%2Faws-incentives-api-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseanpianka%2Faws-incentives-api-rs/lists"}