{"id":15717869,"url":"https://github.com/celso/kanal","last_synced_at":"2025-06-22T14:10:04.461Z","repository":{"id":6949631,"uuid":"8201486","full_name":"celso/kanal","owner":"celso","description":"A PHP class to handle with the Meo Kanal API","archived":false,"fork":false,"pushed_at":"2013-02-26T19:51:04.000Z","size":392,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T22:18:04.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/celso.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}},"created_at":"2013-02-14T15:05:06.000Z","updated_at":"2014-02-28T18:00:13.000Z","dependencies_parsed_at":"2022-07-29T01:08:13.784Z","dependency_job_id":null,"html_url":"https://github.com/celso/kanal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/celso/kanal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celso%2Fkanal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celso%2Fkanal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celso%2Fkanal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celso%2Fkanal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/celso","download_url":"https://codeload.github.com/celso/kanal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celso%2Fkanal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261304266,"owners_count":23138301,"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-03T21:51:31.137Z","updated_at":"2025-06-22T14:09:59.441Z","avatar_url":"https://github.com/celso.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Meo Kanal PHP class\n===================\n\nA [PHP class](https://github.com/celso/kanal/blob/master/classes/kanal.php) to handle with the Meo Kanal API\n\nGetting the OAuth keys\n======================\n\nYou only need to do this once for each application.\n\nFollow these steps to get your OAuth keys:\n\n * Go to http://kanal.pt/developer/application/register and enter:\n\n    1. Your application name\n    2. The application description\n    3. The OAuth redirect URI for your app, see below.\n\n * After your app is approved go here: http://kanal.pt/developer/application/listing\n \n    1. Grab the Client ID and Client Secret and then paste them into the kanal_oauth.php file\n\n * Place the [kanal_oauth.php](https://github.com/celso/kanal/blob/master/kanal_oauth.php) script (with the keys) in a PHP webserver of yours eg: http://myphpserverurl.eu/kanal_oauth.php\n \n * Make sure the OAuth redirect URI for your app at http://kanal.pt/developer/application/listing is the same: http://myphpserverurl.eu/kanal_oauth.php\n \n * Now go to http://myphpserverurl.eu/kanal_oauth.php\n \n * You'll be redirected to Meo Kanal and asked to authorize the app.\n \n * When you return, you'll get missing bit of information: your Access Token.\n\n * Now you have the Client ID, Client Secret and Access Token keys, which you can use with the Meo Kanal class. You don't need the kanal_oauth.php script anymore, nor the OAuth2 classes.\n\nUsing the class\n===============\n\nIt's self explanatory, check the [kanal_unit_tests.php](https://github.com/celso/kanal/blob/master/kanal_unit_tests.php) script and the Meo Kanal API documentation at http://kanal.pt/developer/console#intro_doc\n\nThis is a work in progress","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelso%2Fkanal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcelso%2Fkanal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelso%2Fkanal/lists"}