{"id":21647481,"url":"https://github.com/fitomad/emtclient","last_synced_at":"2025-03-20T00:58:04.813Z","repository":{"id":74267556,"uuid":"62491307","full_name":"fitomad/EMTClient","owner":"fitomad","description":"Client de acceso al servicio de tiempo de espera de EMT Madrid","archived":false,"fork":false,"pushed_at":"2016-07-03T14:14:17.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T05:09:38.247Z","etag":null,"topics":["emt","emt-api","madrid","mobility","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/fitomad.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-07-03T10:14:49.000Z","updated_at":"2017-02-23T07:22:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4096c08-fe41-4b0f-bc15-c483af89e8be","html_url":"https://github.com/fitomad/EMTClient","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitomad%2FEMTClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitomad%2FEMTClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitomad%2FEMTClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fitomad%2FEMTClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fitomad","download_url":"https://codeload.github.com/fitomad/EMTClient/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244531013,"owners_count":20467391,"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":["emt","emt-api","madrid","mobility","swift"],"created_at":"2024-11-25T06:50:11.783Z","updated_at":"2025-03-20T00:58:04.784Z","avatar_url":"https://github.com/fitomad.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EMTClient\nClient de acceso al servicio de tiempo de espera de EMT Madrid\n\n## Ejemplo\n\n```swift\nlet busStopID: Int = 44\n\nEMTClient.sharedInstance.informacionParada(busStopID, completionHandler: { (information: BusInformationResult\u003cBusStop\u003e) -\u003e Void in\nswitch information\n{\n    case let BusInformationResult.Success(busStop):\n        dispatch_async(dispatch_get_main_queue())\n        {\n            // ... :)\n        }\n        \n        // Luego nos servira para construir\n        // el adapter de la celda del mapa\n        self.selectedBusStop = busStop\n    case let BusInformationResult.Error(reason):\n        // ... :(\n}\n\nEMTClient.sharedInstance.tiemposEsperaEnParada(busStopID, completionHandler:{ (information : BusInformationResult\u003c[Arrival]\u003e) in\nswitch information\n{\n    case let BusInformationResult.Success(arrivals):\n        if !arrivals.isEmpty\n        {\n            for arrival: Arrival in arrivals\n            {\n                // ... :-)\n            }\n    case BusInformationResult.Error:\n        dispatch_async(dispatch_get_main_queue())\n        {\n            //... :-(\n        }\n}\n```\n## Contacto\n\n¿Alguna sugerencia y/o pregunta? Contacta en Twitter con [@fitomad](https://twitter.com/fitomad)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffitomad%2Femtclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffitomad%2Femtclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffitomad%2Femtclient/lists"}