{"id":20777799,"url":"https://github.com/fiware/tutorials.accessing-context","last_synced_at":"2025-09-12T21:20:59.499Z","repository":{"id":32139683,"uuid":"131584223","full_name":"FIWARE/tutorials.Accessing-Context","owner":"FIWARE","description":":blue_book: FIWARE 105: Accessing Context Programmatically","archived":false,"fork":false,"pushed_at":"2025-09-10T08:04:45.000Z","size":621,"stargazers_count":4,"open_issues_count":0,"forks_count":6,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-10T11:50:24.050Z","etag":null,"topics":["contextual-data","fiware","fiware-orion","ngsi","node-js-express","tutorial"],"latest_commit_sha":null,"homepage":"https://www.fiware.org/developers/","language":"Shell","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/FIWARE.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,"zenodo":null}},"created_at":"2018-04-30T10:46:04.000Z","updated_at":"2025-06-18T01:22:18.000Z","dependencies_parsed_at":"2024-08-08T16:29:53.404Z","dependency_job_id":"1c381f3a-1e2b-4f2d-a9cb-64281715f323","html_url":"https://github.com/FIWARE/tutorials.Accessing-Context","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/FIWARE/tutorials.Accessing-Context","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Accessing-Context","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Accessing-Context/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Accessing-Context/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Accessing-Context/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FIWARE","download_url":"https://codeload.github.com/FIWARE/tutorials.Accessing-Context/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Accessing-Context/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274879247,"owners_count":25367095,"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-09-12T02:00:09.324Z","response_time":60,"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":["contextual-data","fiware","fiware-orion","ngsi","node-js-express","tutorial"],"created_at":"2024-11-17T13:17:18.518Z","updated_at":"2025-09-12T21:20:59.462Z","avatar_url":"https://github.com/FIWARE.png","language":"Shell","readme":"[![FIWARE Banner](https://fiware.github.io/tutorials.Accessing-Context/img/fiware.png)](https://www.fiware.org/developers)\n\n[![FIWARE Core Context Management](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/core.svg)](https://github.com/FIWARE/catalogue/blob/master/core/README.md)\n[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Accessing-Context.svg)](https://opensource.org/licenses/MIT)\n[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](https://stackoverflow.com/questions/tagged/fiware)\n\nThis tutorial teaches FIWARE users how to alter the context programmatically. The tutorial builds on the entities\ncreated in the previous [stock management example](https://github.com/FIWARE/tutorials.Context-Providers/) and enables a\nuser understand how to write code in an [NGSI-v2](https://fiware.github.io/specifications/OpenAPI/ngsiv2) capable\n[Node.js](https://nodejs.org/) [Express](https://expressjs.com/) application in order to retrieve and alter context\ndata. This removes the need to use the command-line to invoke cUrl commands.\n\nThe tutorial is mainly concerned with discussing code written in Node.js, however some of the results can be checked by\nmaking [cUrl](https://ec.haxx.se/) commands.\n\n# Start-Up\n\n**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.\n\n```console\ngit clone https://github.com/FIWARE/tutorials.Accessing-Context.git\ncd tutorials.Accessing-Context\ngit checkout NGSI-v2\n\n./services create\n./services start\n```\n\n\n| [![NGSI v2](https://img.shields.io/badge/NGSI-v2-5dc0cf.svg)](https://fiware-ges.github.io/orion/api/v2/stable/) | :books: [Documentation](https://github.com/FIWARE/tutorials.Accessing-Context/tree/NGSI-v2) |\n| --- | --- |\n\n---\n\n## License\n\n[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.accessing-context","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiware%2Ftutorials.accessing-context","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.accessing-context/lists"}