{"id":15888321,"url":"https://github.com/antoncoding/apifootball-adopter","last_synced_at":"2025-07-03T08:35:36.584Z","repository":{"id":104219293,"uuid":"211537585","full_name":"antoncoding/apifootball-adopter","owner":"antoncoding","description":"external adopter to work with chain link node","archived":false,"fork":false,"pushed_at":"2019-10-13T09:11:41.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T16:51:18.687Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/antoncoding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-09-28T17:31:03.000Z","updated_at":"2019-10-13T09:11:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8054c95-b160-41e0-8c43-2648fef8ad47","html_url":"https://github.com/antoncoding/apifootball-adopter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antoncoding/apifootball-adopter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fapifootball-adopter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fapifootball-adopter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fapifootball-adopter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fapifootball-adopter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoncoding","download_url":"https://codeload.github.com/antoncoding/apifootball-adopter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fapifootball-adopter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263291213,"owners_count":23443719,"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":[],"created_at":"2024-10-06T06:07:03.962Z","updated_at":"2025-07-03T08:35:36.533Z","avatar_url":"https://github.com/antoncoding.png","language":"JavaScript","readme":"# Football Match External Adopter\n\nIt's a sample football match external adopter to work with [Epuesta](https://github.com/antoncoding/epuesta).\n\nCurrently using two data sources:\n\n* [API Football](https://apifootball.com)\n* [Football Data Org](https://www.football-data.org/documentation/)\n\nAlready deployed on [heroku](https://apifootball-adopter.herokuapp.com/.)\n\n## Usage\n\n### Register API Key\n\nIf you want to run the external adopter on your own, you will have to register an API key at [APIFootball](https://apifootball.com/register/) and set it as your env variable.\n\n### Bridge Creation\n\nCreate a new **Bridge** and connect your node to our heroku sample server (or the one you run on your own).\n\n![New Bridge](https://i.imgur.com/Rk7AIrR.png)\n\n### Job Specification\n\nThen you can use `apifootball` in your job specifications. This adopter require one variable which is `match_id`, your smart contract should pass that in.\n\n```json\n{\n  \"initiators\": [\n    {\n      \"type\": \"RunLog\",\n      \"params\": { \"address\": \"YOUR_ORACLE_ADDRESS\" }\n    }\n  ],\n  \"tasks\": [\n    {\n      \"type\": \"apifootball\"\n    },\n    {\n      \"type\": \"copy\"\n    },\n    {\n      \"type\": \"EthUint256\"\n    },\n    {\n      \"type\": \"EthTx\"\n    }\n  ]\n}\n```\n\n*Examples of using this adopter can be fund at [Epuesta](https://github.com/antoncoding/epuesta).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoncoding%2Fapifootball-adopter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoncoding%2Fapifootball-adopter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoncoding%2Fapifootball-adopter/lists"}