{"id":30041842,"url":"https://github.com/ifrcgo/how-to-use-the-go-api","last_synced_at":"2025-10-20T09:28:39.568Z","repository":{"id":51142579,"uuid":"315279066","full_name":"IFRCGo/how-to-use-the-go-api","owner":"IFRCGo","description":"[WIP] Examples and usage instructions for the GO API using different tools / languages","archived":false,"fork":false,"pushed_at":"2024-11-13T13:18:53.000Z","size":10218,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-16T18:01:58.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ifrcgo.github.io/how-to-use-the-go-api/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IFRCGo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-23T10:29:30.000Z","updated_at":"2024-11-13T13:17:39.000Z","dependencies_parsed_at":"2022-08-28T02:00:13.764Z","dependency_job_id":null,"html_url":"https://github.com/IFRCGo/how-to-use-the-go-api","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/IFRCGo/how-to-use-the-go-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFRCGo%2Fhow-to-use-the-go-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFRCGo%2Fhow-to-use-the-go-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFRCGo%2Fhow-to-use-the-go-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFRCGo%2Fhow-to-use-the-go-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IFRCGo","download_url":"https://codeload.github.com/IFRCGo/how-to-use-the-go-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IFRCGo%2Fhow-to-use-the-go-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269190268,"owners_count":24375583,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-07T02:57:52.254Z","updated_at":"2025-10-20T09:28:34.517Z","avatar_url":"https://github.com/IFRCGo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to use the [go-api](https://github.com/IFRCGo/go-api)?\n\nThis repository contains a web app which showcases examples of code. Examples are in Python, JavaScript,\nPowerBI and Tableau.\n\n## Requirements\n\n-   [Node v12](https://nodejs.org/en/download/)\n\n## Installation\n\n-   Create a local clone of this repository using\n\n    `git clone https://github.com/IFRCGo/how-to-use-the-go-api.git`\n\n-   From the root folder of the cloned repository, install the application\n    using,\n\n    `npm install`\n\n-   Serve the app using,\n\n    `ionic serve`\n\n-   The app should now be accessible via your browser at http://localhost:8100.\n\n## Folder Structure\n\n`/` contains the [README](./README.md), [package.json](./package.json) and other\nconfig files.\n\n`/src` contains all the Ionic-React files required to build the app.\n\n-   `/src/assets` contains files containing the examples and supported\n    languages in JSON format.\n\n`/python` contains the Python implementation of the examples. The python files\nin this folder can be used to generate the browser embedded version of the code\nusing `python example1.py`.\n\n`/powerbi` contains the PowerBI implementation of the examples. In the future,\nthe contents of this folder should be merged into\n[`examples.json`](/src/assets/examples.json).\n\n`/public` contains the HTML and static assets which are used in the Ionic-React\ninterface.\n\n## Deployment\n\nTo publish the latest code,\n\n1. Make sure your changes are committed into the [`master`](/tree/master)\n   branch.\n2. Triple check if the code works on your local and the changes do not break the\n   application. Do this by reviewing the code commits since the last publish and\n   viewing their effects on the interface via your browser.\n3. Once you are certain that the code can be deployed, run `npm run deploy` from\n   the root folder in the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifrcgo%2Fhow-to-use-the-go-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fifrcgo%2Fhow-to-use-the-go-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fifrcgo%2Fhow-to-use-the-go-api/lists"}