{"id":36531341,"url":"https://github.com/vector-hector/fptf","last_synced_at":"2026-01-12T03:01:37.710Z","repository":{"id":57573833,"uuid":"352481023","full_name":"Vector-Hector/fptf","owner":"Vector-Hector","description":"Go bindings for fptf","archived":false,"fork":false,"pushed_at":"2023-12-22T17:55:51.000Z","size":53,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-20T06:38:51.721Z","etag":null,"topics":["fptf","golang","golang-package","gtfs","open-data","public-transport","transport"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Vector-Hector.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":"2021-03-29T01:28:16.000Z","updated_at":"2024-06-20T06:38:59.710Z","dependencies_parsed_at":"2023-12-22T18:32:25.038Z","dependency_job_id":"bc427985-1dcd-4141-8fa6-c8895d241f95","html_url":"https://github.com/Vector-Hector/fptf","commit_stats":null,"previous_names":["vector-hector/fptf","vector-hector/friendly-public-transport-format"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Vector-Hector/fptf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vector-Hector%2Ffptf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vector-Hector%2Ffptf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vector-Hector%2Ffptf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vector-Hector%2Ffptf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vector-Hector","download_url":"https://codeload.github.com/Vector-Hector/fptf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vector-Hector%2Ffptf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"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":["fptf","golang","golang-package","gtfs","open-data","public-transport","transport"],"created_at":"2026-01-12T03:01:23.268Z","updated_at":"2026-01-12T03:01:37.703Z","avatar_url":"https://github.com/Vector-Hector.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fptf\n\nGo bindings\nof [fptf](https://github.com/public-transport/friendly-public-transport-format/blob/1.2.1/spec/readme.md).\n\nThis package is just a collection of types and (un)marshall functions, really.\nBut since fptf requires some optional stuff (e.g. stops can be objects or strings), \nyou'd kind of have to add a lot of functions to your types. \\\nThis package takes care of that. \n\n## Usage\n\nImport the stuff:\n\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\t\"github.com/Vector-Hector/fptf\"\n)\n\nfunc main() {\n\t// ...find some data called dat\n\n\tvar journey fptf.Journey\n\terr := json.Unmarshal(dat, \u0026journey)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n}\n```\n\nAll the types specified in the [specs](https://github.com/public-transport/friendly-public-transport-format/blob/1.2.1/spec/readme.md)\ncan be accessed through this package. \\\nJust capitalize the first letter and write fptf. in front of it ^^\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvector-hector%2Ffptf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvector-hector%2Ffptf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvector-hector%2Ffptf/lists"}