Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devidw/nasa-mars-rover-photo-api-wrapper
API Wrapper for the NASA Mars Rover Photos API
https://github.com/devidw/nasa-mars-rover-photo-api-wrapper
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
Last synced: 26 days ago
JSON representation
API Wrapper for the NASA Mars Rover Photos API
- Host: GitHub
- URL: https://github.com/devidw/nasa-mars-rover-photo-api-wrapper
- Owner: devidw
- License: mit
- Created: 2021-05-22T09:21:11.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-25T16:53:19.000Z (over 2 years ago)
- Last Synced: 2024-10-08T06:03:10.863Z (about 1 month ago)
- 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
- Language: PHP
- Homepage: https://packagist.org/packages/devidw/nasa-mars-rover-photo-api-wrapper
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= NASA Mars Rover Photos API PHP Wrapper
== Installation
[source,zsh]
----
composer require devidw/nasa-mars-rover-photo-api-wrapper
----== Usage
[source,php]
----
sol(100)->camera('NAVCAM')->get();var_dump($photos);
----== Methods
[source,php]
----
public MarsRoverPhoto::__construct ( string $apiKey , string $rover )public MarsRoverPhoto::get ( ) : object
public MarsRoverPhoto::sol ( int $sol ) : MarsRoverPhoto
public MarsRoverPhoto::earthDate ( int $earthDate ) : MarsRoverPhoto
public MarsRoverPhoto::camera ( string $camera ) : MarsRoverPhoto
public MarsRoverPhoto::page ( int $page ) : MarsRoverPhoto
----== See
For more details on the API see:* https://github.com/chrisccerami/mars-photo-api[chrisccerami/mars-photo-api]
* https://api.nasa.gov/[api.nasa.gov]