{"id":16087136,"url":"https://github.com/newapplesho/currencylayer-api-smalltalk","last_synced_at":"2025-07-10T02:35:40.872Z","repository":{"id":86446194,"uuid":"57589343","full_name":"newapplesho/currencylayer-api-smalltalk","owner":"newapplesho","description":"Pharo Smalltalk wrapper for currencylayer API","archived":false,"fork":false,"pushed_at":"2017-10-08T09:45:54.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T11:51:33.789Z","etag":null,"topics":["currency-api","pharo","smalltalk"],"latest_commit_sha":null,"homepage":"","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":"2016-05-01T07:40:31.000Z","updated_at":"2017-09-29T03:41:39.000Z","dependencies_parsed_at":"2023-07-14T06:21:03.063Z","dependency_job_id":null,"html_url":"https://github.com/newapplesho/currencylayer-api-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%2Fcurrencylayer-api-smalltalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Fcurrencylayer-api-smalltalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Fcurrencylayer-api-smalltalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newapplesho%2Fcurrencylayer-api-smalltalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newapplesho","download_url":"https://codeload.github.com/newapplesho/currencylayer-api-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-api","pharo","smalltalk"],"created_at":"2024-10-09T13:28:05.263Z","updated_at":"2025-04-05T15:10:58.935Z","avatar_url":"https://github.com/newapplesho.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# currencylayer-api-smalltalk [![Build Status](https://travis-ci.org/newapplesho/currencylayer-api-smalltalk.svg?branch=master)](https://travis-ci.org/newapplesho/currencylayer-api-smalltalk)\n\nPharo Smalltalk wrapper for [currencylayer API](https://currencylayer.com).\n\n## Supported Smalltalk Versions\n[Pharo Smalltalk](http://pharo.org/) 4.0, 5.0, 6.0, 6.1\n\n## Installation\n\n```smalltalk\nMetacello new\n    baseline: 'Currencylayer';\n    repository: 'github://newapplesho/currencylayer-api-smalltalk:v0.1/pharo-repository';\n    load.\n```\n\n## Set up\n```smalltalk\nCurrencylayerSettings default accessKey:'Your API Access Key'.\n```\n\nHTTPS Encryption\n\n```smalltalk\n\"Subscription: Free\"\nCurrencylayerSettings default useSSL: false.\n\n\"Subscription: Basic, Pro, Enterprise\"\nCurrencylayerSettings default useSSL: true.\n```\n\n## Usage\nYou can read official documentation [here](https://currencylayer.com/documentation).\n\n### Real-time Rates\n\n```smalltalk\ncurrencylayer := Currencylayer new.\ncurrencylayer live:#('AUD' 'EUR' 'GBP' 'PLN').\n```\n\n### Source Currency Switching\n\n```smalltalk\ncurrencylayer := Currencylayer new.\ncurrencylayer sourceCurrency: 'JPY'.\n```\n\n### Currency Conversion Endpoint\n\n```smalltalk\ncurrencylayer := Currencylayer new.\ncurrencylayer convert: 100 from: 'JPY' to: 'USD'.  \"print it\"\n```\n\nExample response\n\n```json\n{\n  \"privacy\": \"https:\\/\\/currencylayer.com\\/privacy\",\n  \"success\": true,\n  \"info\": {\n    \"timestamp\": 1462096813,\n    \"quote\": 0.009402\n  },\n  \"query\": {\n    \"to\": \"USD\",\n    \"from\": \"JPY\",\n    \"amount\": 100\n  },\n  \"terms\": \"https:\\/\\/currencylayer.com\\/terms\",\n  \"result\": 0.9402\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewapplesho%2Fcurrencylayer-api-smalltalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewapplesho%2Fcurrencylayer-api-smalltalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewapplesho%2Fcurrencylayer-api-smalltalk/lists"}