{"id":16233639,"url":"https://github.com/jongotlin/adrecordapiwrapper","last_synced_at":"2025-04-08T07:39:18.823Z","repository":{"id":21107912,"uuid":"24408379","full_name":"jongotlin/AdrecordApiWrapper","owner":"jongotlin","description":"Php wrapper for Adrecord's api","archived":false,"fork":false,"pushed_at":"2014-10-08T12:00:19.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T04:48:50.379Z","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/jongotlin.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":"2014-09-24T09:12:17.000Z","updated_at":"2014-09-24T09:13:19.000Z","dependencies_parsed_at":"2022-08-25T12:40:46.238Z","dependency_job_id":null,"html_url":"https://github.com/jongotlin/AdrecordApiWrapper","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongotlin%2FAdrecordApiWrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongotlin%2FAdrecordApiWrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongotlin%2FAdrecordApiWrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongotlin%2FAdrecordApiWrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongotlin","download_url":"https://codeload.github.com/jongotlin/AdrecordApiWrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247799366,"owners_count":20998171,"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-10T13:13:21.430Z","updated_at":"2025-04-08T07:39:18.802Z","avatar_url":"https://github.com/jongotlin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"AdrecordApiWrapper\n==================\n\nPhp wrapper for Adrecord's api\n\n```php\nuse AdrecordApiWrapper\\Adrecord;\nuse Guzzle\\Http\\Client;\n\n$client = new Client();\n$adrecord = new Adrecord('36Ju9EWnFvplyqxV', $client);\n\nforeach ($adrecord-\u003egetChannels() as $channel) {\n    echo sprintf('%d: %s (%s)%s', $channel-\u003egetId(), $channel-\u003egetName(), $channel-\u003egetUrl(), PHP_EOL);\n}\n//4: Hittajulklappar (http://www.hittajulklappar.se)\n\n$channel = $adrecord-\u003egetChannel(4);\necho sprintf('%d: %s (%s)%s', $channel-\u003egetId(), $channel-\u003egetName(), $channel-\u003egetUrl(), PHP_EOL);\n//4: Hittajulklappar (http://www.hittajulklappar.se)\n\nforeach ($adrecord-\u003egetPrograms() as $program) {\n    echo sprintf('%d: %s (%s)%s', $program-\u003egetId(), $program-\u003egetName(), $program-\u003egetUrl(), PHP_EOL);\n}\n//43: Blogvertiser (http://www.blogvertiser.com/sv/)\n\n$program = $adrecord-\u003egetProgram(43);\necho sprintf('%d: %s (%s)%s', $program-\u003egetId(), $program-\u003egetName(), $program-\u003egetUrl(), PHP_EOL);\n//43: Blogvertiser (http://www.blogvertiser.com/sv/)\n\n$channel = new Channel();\n$channel-\u003esetId(4);\n$program = new Program();\n$program-\u003esetId(196);\nforeach ($adrecord-\u003egetTransactions($channel, $program, new DateTime('2014-09-01'), new DateTime('2014-09-10')) as $tx) {\n    echo date('Y-m-d', key($tx-\u003egetChanges())) . PHP_EOL;\n}\n//2014-09-01\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongotlin%2Fadrecordapiwrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongotlin%2Fadrecordapiwrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongotlin%2Fadrecordapiwrapper/lists"}