{"id":16087175,"url":"https://github.com/newapplesho/oxr-smalltalk","last_synced_at":"2025-07-27T21:38:17.288Z","repository":{"id":86446270,"uuid":"48802341","full_name":"newapplesho/oxr-smalltalk","owner":"newapplesho","description":"Pharo Smalltalk wrapper for the Open Exchange Rates API","archived":false,"fork":false,"pushed_at":"2017-09-16T16:58:14.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T11:51:40.145Z","etag":null,"topics":["currency","open-exchange-rates","pharo","smalltalk"],"latest_commit_sha":null,"homepage":null,"language":"Smalltalk","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/newapplesho.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":"2015-12-30T13:41:11.000Z","updated_at":"2017-09-16T14:09:33.000Z","dependencies_parsed_at":"2023-07-13T18:00:40.448Z","dependency_job_id":null,"html_url":"https://github.com/newapplesho/oxr-smalltalk","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Foxr-smalltalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Foxr-smalltalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Foxr-smalltalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Foxr-smalltalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newapplesho","download_url":"https://codeload.github.com/newapplesho/oxr-smalltalk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353749,"owners_count":20925329,"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":["currency","open-exchange-rates","pharo","smalltalk"],"created_at":"2024-10-09T13:28:31.679Z","updated_at":"2025-04-05T15:11:02.219Z","avatar_url":"https://github.com/newapplesho.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Open Exchange Rates [![Build Status](https://travis-ci.org/newapplesho/oxr-smalltalk.svg?branch=master)](https://travis-ci.org/newapplesho/oxr-smalltalk)\nPharo Smalltalk wrapper for the [Open Exchange Rates API](https://openexchangerates.org).\n\n## Requirement\n  - Pharo 3.0, Pharo 4.0, Pharo 5.0, Pharo 6.0, Pharo 6.1\n\n## Installation\n\n```smalltalk\nMetacello new\n    baseline: 'OXR';\n    repository: 'github://newapplesho/oxr-smalltalk:v0.1/pharo-repository';\n    load.\n```\n\n## set up\n\n```smalltalk\nOXRSettings default applicationId:'Your App ID'.\n```\n\n## Usage\n\nYou can read official documentation [here](https://oxr.readme.io/docs).\n\n### /latest.json\nGet the latest exchange rates available from the Open Exchange Rates API.\n\n```smalltalk\noxr := OpenExchangeRates new.\noxr getLatestExchangeRates.\n```\n\n### /currencies.json\n\nGet a JSON list of all currency symbols available from the Open Exchange Rates API, along with their full names, for use in your integration.\n\n```smalltalk\noxr := OpenExchangeRates new.\noxr getCurrencies.\n```\n\n### /convert\n\nConvert any money value from one currency to another at the latest API rates using the /convert API endpoint.\n\n```smalltalk\noxr := OpenExchangeRates new.\noxr convert: 19999.95 from: 'GBP' to: 'EUR'.\n```\n\n### Changing Base Currency\n\n```smalltalk\noxr := OpenExchangeRates new.\noxr baseCurrency: 'JPY'.\noxr getLatestExchangeRates.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewapplesho%2Foxr-smalltalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewapplesho%2Foxr-smalltalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewapplesho%2Foxr-smalltalk/lists"}