{"info":{"_postman_id":"7679dc3a-2359-45b7-9c09-025d895eb5e9","name":"Bird Detection","description":"<html><head></head><body><h4 id=\"1-get-homepage\">1. <strong>GET HomePage</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Fetch the main landing page of the Bird Detection application.</li>\n<li><strong>Endpoint:</strong> <code>/</code></li>\n<li><strong>Parameters:</strong> None.</li>\n<li><strong>Response:</strong> Returns the rendered HTML for the application's homepage.</li>\n</ul>\n<hr>\n<h4 id=\"2-post-imgurimageupload\">2. <strong>POST ImgurImageUpload</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Upload an image to Imgur for hosting and retrieval.</li>\n<li><strong>Endpoint:</strong> <code>https://api.imgur.com/3/image</code></li>\n<li><strong>Parameters:</strong><ul>\n<li><code>image</code>: The image file to be uploaded.</li>\n</ul>\n</li>\n<li><strong>Response:</strong> Returns the direct link of the uploaded image on Imgur.</li>\n</ul>\n<hr>\n<h4 id=\"3-post-predictspeciesofbird\">3. <strong>POST PredictSpeciesofBird</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Classify the uploaded image to predict the bird species.</li>\n<li><strong>Endpoint:</strong> <code>/predict</code></li>\n<li><strong>Parameters:</strong><ul>\n<li><code>url</code>: Direct link of the uploaded image on Imgur.</li>\n</ul>\n</li>\n<li><strong>Response:</strong> Returns the predicted bird class along with the confidence level.</li>\n</ul>\n<hr>\n<h4 id=\"4-get-metadataofspecies\">4. <strong>GET metadataofSpecies</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Fetch detailed metadata of a particular bird species.</li>\n<li><strong>Endpoint:</strong> <code>/get_bird_metadata?species=Acadian_Flycatcher</code></li>\n<li><strong>Parameters:</strong><ul>\n<li><code>species</code>: The name or identifier of the bird species.</li>\n</ul>\n</li>\n<li><strong>Response:</strong> Returns metadata like species' characteristics, habitat, diet, etc.</li>\n</ul>\n<hr>\n<h4 id=\"5-get-externalinformationaboutspecies\">5. <strong>GET externalInformationaboutSpecies</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Fetch external information about a bird species from eBird or other sources.</li>\n<li><strong>Endpoint:</strong> <code>/capture?speciescode=acafly</code></li>\n<li><strong>Parameters:</strong><ul>\n<li><code>speciescode</code>: The unique code or identifier for the bird species from eBird.</li>\n</ul>\n</li>\n<li><strong>Response:</strong> Returns detailed information and recent sightings or any other relevant information from eBird.</li>\n</ul>\n<hr>\n<h4 id=\"6-get-allspecieslist\">6. <strong>GET AllSpeciesList</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Fetch a list of all bird species present in the database.</li>\n<li><strong>Endpoint:</strong> <code>/bird_classes</code></li>\n<li><strong>Parameters:</strong> None.</li>\n<li><strong>Response:</strong> Returns a list of bird species names and identifiers.</li>\n</ul>\n<hr>\n<h4 id=\"7-post-addnewspeciestothelist\">7. <strong>POST AddNewSpeciestotheList</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Add a new bird species to the database.</li>\n<li><strong>Endpoint:</strong> <code>/new_bird</code></li>\n<li><strong>Parameters:</strong><ul>\n<li><code>species_data</code>: Data related to the bird species like name, characteristics, images, etc.</li>\n</ul>\n</li>\n<li><strong>Response:</strong> Confirmation of the addition of the new species to the database.</li>\n</ul>\n<hr>\n<h4 id=\"8-get-recentnotableobservationsinspecificarea\">8. <strong>GET RecentNotableObservationsinspecificArea</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Get recent notable bird sightings in a specific area.</li>\n<li><strong>Endpoint:</strong> <code>https://api.ebird.org/v2/data/obs/US/recent/notable</code></li>\n<li><strong>Parameters:</strong><ul>\n<li><code>location</code>: The geographical location or identifier where you want to fetch recent observations.</li>\n</ul>\n</li>\n<li><strong>Response:</strong> Returns a list of recent notable bird sightings in the specified area.</li>\n</ul>\n<hr>\n<h4 id=\"9-get-nearestobservationsofaspecies\">9. <strong>GET NearestObservationsofaSpecies</strong></h4>\n<ul>\n<li><strong>Purpose:</strong> Fetch the nearest observations or sightings of a particular bird species.</li>\n<li><strong>Endpoint:</strong> <code>https://api.ebird.org/v2/data/nearest/geo/recent/amegfi?lat=33&amp;lng=-118</code></li>\n<li><strong>Parameters:</strong><ul>\n<li><code>speciescode</code>: The unique code or identifier for the bird species.</li>\n</ul>\n</li>\n<li><strong>Response:</strong> Returns a list of recent sightings of the particular species sorted by proximity to a location.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23319025","collectionId":"7679dc3a-2359-45b7-9c09-025d895eb5e9","publishedId":"2s9YRGy9am","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-10-29T16:36:20.000Z"},"item":[{"name":"HomePage","id":"aa21c684-92b5-47a8-9222-5069bd7e4052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://elhence.in","urlObject":{"protocol":"http","host":["elhence","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa21c684-92b5-47a8-9222-5069bd7e4052"},{"name":"ImgurImageUpload","id":"0b5c4112-36bf-4a10-9010-7d7410bf6bd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Client-ID fff5e68c6b25399","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","src":"kYAunA46r/blackbird.png"}]},"url":"https://api.imgur.com/3/image","urlObject":{"protocol":"https","path":["3","image"],"host":["api","imgur","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b5c4112-36bf-4a10-9010-7d7410bf6bd5"},{"name":"PredictSpeciesofBird","id":"bb4f1c16-e287-48eb-b7ea-d5ef1ae0e416","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"url\": \"https://i.imgur.com/bgAaQNT.png\"\n}"},"url":"http://elhence.in/predict","urlObject":{"protocol":"http","path":["predict"],"host":["elhence","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"bb4f1c16-e287-48eb-b7ea-d5ef1ae0e416"},{"name":"metadataofSpecies","event":[{"listen":"test","script":{"id":"eb34355c-3344-424b-9e5a-f16c18f612a2","exec":["var template = `","<style type=\"text/css\">","    .tftable {font-size:14px;color:#333333;width:100%;border-width: 1px;border-color: #87ceeb;border-collapse: collapse;}","    .tftable th {font-size:18px;background-color:#87ceeb;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;text-align:left;}","    .tftable tr {background-color:#ffffff;}","    .tftable td {font-size:14px;border-width: 1px;padding: 8px;border-style: solid;border-color: #87ceeb;}","    .tftable tr:hover {background-color:#e0ffff;}","</style>","","<table class=\"tftable\" border=\"1\">","    <tr>","        <th>Class Number</th>","        <th>Location</th>","        <th>Species</th>","        <th>Species Photo</th>","        <th>Species URL</th>","        <th>Species Code</th>","    </tr>","    ","    <tr>","        <td>{{response.ClassNumber}}</td>","        <td>{{response.Loc}}</td>","        <td>{{response.Species}}</td>","        <td>{{response.SpeciesPhoto}}</td>","        <td>{{response.SpeciesUrl}}</td>","        <td>{{response.Speciescode}}</td>","    </tr>","</table>","`;","","function constructVisualizerPayload() {","    return { response: pm.response.json() }","}","","pm.visualizer.set(template, constructVisualizerPayload());"],"type":"text/javascript"}}],"id":"d4d8e8e8-d8b3-409f-9c65-d570ff3de94a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"elhence.in/get_bird_metadata?species=Acadian_Flycatcher","urlObject":{"path":["get_bird_metadata"],"host":["elhence","in"],"query":[{"key":"species","value":"Acadian_Flycatcher"}],"variable":[]}},"response":[],"_postman_id":"d4d8e8e8-d8b3-409f-9c65-d570ff3de94a"},{"name":"externalInformationaboutSpecies","id":"f29ef635-010d-40f6-92e5-6a53187e5efd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://elhence.in/capture?speciescode=acafly","urlObject":{"protocol":"http","path":["capture"],"host":["elhence","in"],"query":[{"key":"speciescode","value":"acafly"}],"variable":[]}},"response":[],"_postman_id":"f29ef635-010d-40f6-92e5-6a53187e5efd"},{"name":"AllSpeciesList","id":"0e7cd803-182c-4af6-8ae3-199751ddaa2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://elhence.in/bird_classes","urlObject":{"protocol":"http","path":["bird_classes"],"host":["elhence","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"0e7cd803-182c-4af6-8ae3-199751ddaa2a"},{"name":"AddNewSpeciestotheList","id":"315a76e4-d599-44ec-9818-057956922d18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"classNumber","value":"202","type":"text"},{"key":"species","value":"Anubhav Bird","type":"text"},{"key":"speciesCode","value":"anubhy","type":"text"},{"key":"speciesUrl","value":"https://i.imgur.com/acz0UmO.png","type":"text"},{"key":"speciesPhoto","value":"https://i.imgur.com/acz0UmO.png","type":"text"},{"key":"loc","value":"(34.56, -118.45) (34.57, -118.46) (34.58, -118.47)","type":"text"}]},"url":"http://elhence.in/new_bird","urlObject":{"protocol":"http","path":["new_bird"],"host":["elhence","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"315a76e4-d599-44ec-9818-057956922d18"},{"name":"RecentNotableObservationsinaRegion","id":"46f71862-c820-4b21-a521-60a5949aa51b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-ebirdapitoken"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.ebird.org/v2/data/obs/US/recent/notable","urlObject":{"protocol":"https","path":["v2","data","obs","US","recent","notable"],"host":["api","ebird","org"],"query":[],"variable":[]}},"response":[],"_postman_id":"46f71862-c820-4b21-a521-60a5949aa51b"},{"name":"NearestObservationsofaSpecies","id":"077fc470-ad7e-4b74-b4db-16cdf3259789","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-ebirdapitoken"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://api.ebird.org/v2/data/nearest/geo/recent/amegfi?lat=33&lng=-118","urlObject":{"protocol":"https","path":["v2","data","nearest","geo","recent","amegfi"],"host":["api","ebird","org"],"query":[{"key":"lat","value":"33"},{"key":"lng","value":"-118"}],"variable":[]}},"response":[],"_postman_id":"077fc470-ad7e-4b74-b4db-16cdf3259789"},{"name":"APIKeyAuth","id":"d0defe09-0120-4f71-ac9a-156340dd780e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"x-api-key"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://elhence.in/data","urlObject":{"protocol":"http","path":["data"],"host":["elhence","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"d0defe09-0120-4f71-ac9a-156340dd780e"},{"name":"DigestAuth","id":"20d91ca1-d289-406c-b1b6-24752d1a87b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"digest","digest":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}],"advancedConfig":[{"key":"algorithm","value":"<algorithm>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://elhence.in/protected","urlObject":{"protocol":"http","path":["protected"],"host":["elhence","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"20d91ca1-d289-406c-b1b6-24752d1a87b6"}],"variable":[{"key":"speciesName","value":"Black_footed_Albatross"}]}