{"id":37143005,"url":"https://github.com/bitebait/dolarpy-go","last_synced_at":"2026-01-14T16:47:24.952Z","repository":{"id":57640318,"uuid":"433531032","full_name":"bitebait/dolarpy-go","owner":"bitebait","description":"Go package to easily consume the Dolarpy API. ","archived":false,"fork":false,"pushed_at":"2023-09-25T02:09:45.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T19:21:04.973Z","etag":null,"topics":["api","api-wrapper","currency","dollar","exchange-rate","finance","golang","guarani","paraguay"],"latest_commit_sha":null,"homepage":"","language":"Go","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/bitebait.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-11-30T17:52:46.000Z","updated_at":"2022-04-11T23:59:00.000Z","dependencies_parsed_at":"2024-06-20T18:54:47.262Z","dependency_job_id":"12049244-c945-418d-930a-931670c4505c","html_url":"https://github.com/bitebait/dolarpy-go","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bitebait/dolarpy-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitebait%2Fdolarpy-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitebait%2Fdolarpy-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitebait%2Fdolarpy-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitebait%2Fdolarpy-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitebait","download_url":"https://codeload.github.com/bitebait/dolarpy-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitebait%2Fdolarpy-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28426429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","api-wrapper","currency","dollar","exchange-rate","finance","golang","guarani","paraguay"],"created_at":"2026-01-14T16:47:24.288Z","updated_at":"2026-01-14T16:47:24.945Z","avatar_url":"https://github.com/bitebait.png","language":"Go","readme":"# dolarpy-go\n\nGo Package to easily consume the [Dolarpy API](https://dolar.melizeche.com).\n\n\u003chttps://github.com/melizeche/dolarPy\u003e - by [melizeche](https://github.com/melizeche/)\n\n## Install\n\n```go\ngo get github.com/bitebait/dolarpy-go\n```\n\n## Usage Example\n\n```go\npackage main\n\nimport (\n    \"encoding/json\"\n    \"fmt\"\n\n    \"github.com/bitebait/dolarpy-go\"\n)\n\nfunc main() {\n    allData, err := dolarpy.All()\n    if err != nil {\n        fmt.Printf(\"Failed to get all providers data: %v\\n\", err)\n        return\n    }\n    fmt.Println(allData)\n\n    providers, err := dolarpy.Providers()\n    if err != nil {\n        fmt.Printf(\"Failed to get providers names: %v\\n\", err)\n        return\n    }\n    fmt.Println(providers)\n\n    reference, err := dolarpy.Reference()\n    if err != nil {\n        fmt.Printf(\"Failed to get reference value: %v\\n\", err)\n        return\n    }\n    fmt.Println(reference)\n\n    purchase, err := dolarpy.Purchase(\"cambioschaco\")\n    if err != nil {\n        fmt.Printf(\"Failed to get purchase value from 'cambioschaco': %v\\n\", err)\n        return\n    }\n    fmt.Println(purchase)\n\n    sale, err := dolarpy.Sale(\"cambioschaco\")\n    if err != nil {\n        fmt.Printf(\"Failed to get sale value from 'cambioschaco': %v\\n\", err)\n        return\n    }\n    fmt.Println(sale)\n\n    data, err := dolarpy.All()\n    if err != nil {\n        fmt.Printf(\"Failed to get all providers data: %v\\n\", err)\n        return\n    }\n\n    j, _ := json.Marshal(data)\n    fmt.Println(string(j))\n\n    for provider, values := range data {\n        purchase := values[\"compra\"]\n        sale := values[\"venta\"]\n        fmt.Printf(\"Provider: %s - [Purchase: %.2f Sale: %.2f]\\n\", provider, purchase, sale)\n    }\n}\n\n```\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n## License\n\nThis project is licensed under the terms of the MIT License - see the [LICENSE](LICENSE) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitebait%2Fdolarpy-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitebait%2Fdolarpy-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitebait%2Fdolarpy-go/lists"}