{"id":15462710,"url":"https://github.com/devidw/nasa-mars-rover-photo-api-wrapper","last_synced_at":"2025-03-28T11:20:27.503Z","repository":{"id":44784504,"uuid":"369766159","full_name":"devidw/nasa-mars-rover-photo-api-wrapper","owner":"devidw","description":"API Wrapper for the NASA Mars Rover Photos API","archived":false,"fork":false,"pushed_at":"2022-07-25T16:53:19.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-18T21:04:28.973Z","etag":null,"topics":["api","api-wraper","api-wrapper","api-wrappers","astronomy","curiosity","mars","mars-rover","mars-rover-photos","mars-rovers","nasa","opportunity","photography","photos","php","php-api-wrapper","php8","php80","space","spirit"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/devidw/nasa-mars-rover-photo-api-wrapper","language":"PHP","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/devidw.png","metadata":{"files":{"readme":"README.adoc","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}},"created_at":"2021-05-22T09:21:11.000Z","updated_at":"2022-01-24T23:18:14.000Z","dependencies_parsed_at":"2022-08-21T06:10:23.789Z","dependency_job_id":null,"html_url":"https://github.com/devidw/nasa-mars-rover-photo-api-wrapper","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/devidw%2Fnasa-mars-rover-photo-api-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fnasa-mars-rover-photo-api-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fnasa-mars-rover-photo-api-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devidw%2Fnasa-mars-rover-photo-api-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devidw","download_url":"https://codeload.github.com/devidw/nasa-mars-rover-photo-api-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246017725,"owners_count":20710240,"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":["api","api-wraper","api-wrapper","api-wrappers","astronomy","curiosity","mars","mars-rover","mars-rover-photos","mars-rovers","nasa","opportunity","photography","photos","php","php-api-wrapper","php8","php80","space","spirit"],"created_at":"2024-10-02T00:03:44.241Z","updated_at":"2025-03-28T11:20:27.482Z","avatar_url":"https://github.com/devidw.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"= NASA Mars Rover Photos API PHP Wrapper\n\n== Installation\n[source,zsh]\n----\ncomposer require devidw/nasa-mars-rover-photo-api-wrapper\n----\n\n== Usage\n[source,php]\n----\n\u003c?php\n\nrequire_once dirname(__DIR__) . '/vendor/autoload.php';\n\nuse Devidw\\MarsRoverPhoto\\MarsRoverPhoto;\n\n$mars = new MarsRoverPhoto(\n    apiKey: 'DEMO_KEY',\n    rover: 'curiosity',\n);\n\n$photos = $mars-\u003esol(100)-\u003ecamera('NAVCAM')-\u003eget();\n\nvar_dump($photos);\n----\n\n== Methods\n[source,php]\n----\npublic MarsRoverPhoto::__construct ( string $apiKey , string $rover )\n\npublic MarsRoverPhoto::get ( ) : object\n\npublic MarsRoverPhoto::sol ( int $sol ) : MarsRoverPhoto\n\npublic MarsRoverPhoto::earthDate ( int $earthDate ) : MarsRoverPhoto\n\npublic MarsRoverPhoto::camera ( string $camera ) : MarsRoverPhoto\n\npublic MarsRoverPhoto::page ( int $page ) : MarsRoverPhoto\n----\n\n== See\nFor more details on the API see:\n\n* https://github.com/chrisccerami/mars-photo-api[chrisccerami/mars-photo-api]\n* https://api.nasa.gov/[api.nasa.gov]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fnasa-mars-rover-photo-api-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevidw%2Fnasa-mars-rover-photo-api-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevidw%2Fnasa-mars-rover-photo-api-wrapper/lists"}