Show pets that need a home.
Get pets' location from Pet Finder API and display the location in Google Map.
Pet Finder https://www.petfinder.com/developers/
-- It shows data of pets that need an owner
Google Map <https://cloud.google.com/maps-platform/>
-- A map API
Initializing-----------
done------------------
来康康图片效果吧!or you can request for your own API keys(there are links above) to deploy this project.
Login.php: You need to login first, to track those who wastes my API usages.😄😄😄😄
It is google login
List.php: Showing all the animals return from the PetFinder API.
Detail.php: Showing details of one pet. The picture is deployed in a carousel rendering.
map.php: Showing shelters on Google Map. (其实还没整明白咋用 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈)
(If you goes to map.php by clicking "see location on map" on list.php, map.php will show the shelter of that specific animal.)
不知道这些图片能不能正常上传到github上啊 试试看
Ignored all the keys.
keys/keys.php
<?php
$GMP_API_KEY = "YOUR_GOOGLEMAP_KEYS";
$PFD_API_KEY = "YOUR_PETFINDER_KEYS";
$PFD_SEC = "YOUR_PETFINDER_SECRET";
$GSI_CLIENT_ID = "..";
$GSI_CLIENT_SECRET = "..";-
Nithya who gave me instruction when I am stuck in PHP.
-
Christine who taught me how to think like a programmer.
-
Sean who Provided all the information about writing a README.md file.
-
Joanna who showed me the way using an API.
-
Bernie who spared no effort to guide the paper work.
👆Shout out to my professors at Humber College!👆




