{"id":20898172,"url":"https://github.com/kurokuro15/bcv-api","last_synced_at":"2025-04-11T04:14:08.650Z","repository":{"id":111922809,"uuid":"508019632","full_name":"kurokuro15/bcv-api","owner":"kurokuro15","description":"RestFUL API deployed in deno for get bcv lastest Exchange ","archived":false,"fork":false,"pushed_at":"2023-01-14T00:33:34.000Z","size":216,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T04:14:02.580Z","etag":null,"topics":["api-rest","bcv","deno","deploy","javascript","venezuela"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/kurokuro15.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-06-27T18:26:43.000Z","updated_at":"2024-02-18T04:30:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"cfa6dcad-4ae0-40c4-a5e4-c65aad8157e6","html_url":"https://github.com/kurokuro15/bcv-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurokuro15%2Fbcv-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurokuro15%2Fbcv-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurokuro15%2Fbcv-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kurokuro15%2Fbcv-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kurokuro15","download_url":"https://codeload.github.com/kurokuro15/bcv-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248339225,"owners_count":21087215,"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-rest","bcv","deno","deploy","javascript","venezuela"],"created_at":"2024-11-18T11:09:27.160Z","updated_at":"2025-04-11T04:14:08.629Z","avatar_url":"https://github.com/kurokuro15.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bcv-api\nMicro servicio de exposición APIRest con 2 puntos de accesos \u003canónimos\u003e. \n\n¿utilidad? \n\nEntrega en un bonito formato json el cambio de `X:1` __bolivar : moneda extranjera__ permitiendo hacer uso de esta conversión en cualquier aplicación consumiendo el Endpoint correspondiente.\n\nActualmente se maneja el cambio de bolivares a las siguientes monedas. Siendo así el valor de 1 moneda extranjera  expresado en bolívares dentro del atributo `\"exchange\"`\n- Dolar\n- Euro\n- Lira Turca\n- Rublo\n- Yuan\n\n#### Ejemplo ####\n![Ejemplo de la respuesta del exchange EP][img1]\n## ENDPOINTS\n### GET v1/exchange\n~~~~\nresponse body:\n[\n\t{\n\t\t\"currency\": varchar\n\t\t\"exchange\": float4,\n\t\t\"date\": timestamptz\n\t},\n]\n~~~~\n~~~~\nresponse error body:\n{\n\t\"error\": object\n}\n~~~~\n### GET v1/exchange/:curr\neste endpoint permite retornar el valor más actual de la moneda selecionada\ncurr puede tomar el valor de: \n- Dolar\n- Euro\n- Lira Turca\n- Rublo\n- Yuan\n\n_Si no existiera la moneda pasada entonces devolvería un arreglo vacío._\n~~~~\nresponse body:\n\t{\n\t\t\"currency\": varchar\u003ccurr\u003e\n\t\t\"exchange\": float4,\n\t\t\"date\": timestamptz\n\t}\n~~~~\n~~~~\nresponse error body:\n{\n\t\"error\": object\n}\n~~~~\n\n### Desplegado en deno ###\nhttps://bcv-api.deno.dev/v1/exchange\n\n[img1]: ./examples/code.png \"ejemplo de la respuesta del exchange EP\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurokuro15%2Fbcv-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkurokuro15%2Fbcv-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkurokuro15%2Fbcv-api/lists"}