GAL Codes - Addressing re-defined!
Nescrow Solves Addressing needs using 6 Characters GAL Codes to represent every Building in the world using a crowdsourced approach you can Download Nescrow Gal Codes from Google PlayStore here.
The Essence of this Documentation is to describe how you can integrate GAL Codes seamlessly into your existing Platform, Software or Business
https://nescrow.com.ng/gal/api/v1All API calls have their respective script to call in the API root for example the GET GAL details endpoint is get_gal.php Hence the URL to call for GET GAL details becomes
https://nescrow.com.ng/gal/api/v1/get_gal.php
https://nescrow.com.ng/gal/api/So if you get a gal dest json field of "galphoto/AKIN_d41d8cd98f00b204e9800998ecf8427ezinsutech.PNG " the location of the file becomes
https://nescrow.com.ng/gal/api/galphoto/AKIN_d41d8cd98f00b204e9800998ecf8427ezinsutech.PNG
https://nescrow.com.ng/gal/api/So if you get a gal gal_qr json field of "gal_qr_codes/gal_file_0acaaf39879fc7591d41dff4eaf48543.png" the location of the file becomes
https://nescrow.com.ng/gal/api/galphoto/gal_qr_codes/gal_file_0acaaf39879fc7591d41dff4eaf48543.png
api_key = {your API Key} access_token = {your access token}
"status":1 - means successful request "status":0 - means failed requestfor example below is a sample successful call to an endpoint
{"status":1,"details":{"gal_code":"4E4-OYP","gal_bar":"","gal_qr":"gal_qr_codes\/gal_file_0acaaf39879fc7591d41dff4eaf48543.png"}}
Some times a data retreival request may containg alot of fields, to prevent information overload and for more efficient resource management on our side, we pagintize such request and send them in chunks of 20 values. this pagintation is controled by the GET field
pagepage GET field accepts positive integers
https://nescrow.com.ng/gal/api/v1/get_gal.phpName value Pair
{"status":1,"details":"success","data":{"gal_id":"37","lat":"7","long1":"5","gal_text":"4E4-OYP","gal_bar":"","gal_qr":"gal_qr_codes\/gal_file_0acaaf39879fc7591d41dff4eaf48543.png","when1":"2015-10-20 16:25:16","user_comment":"Grandpa place"}}
<script> $(document).ready(function (){ $('#CompactView').opineo('results.php', {curvalue:3, view: 'compact', animation_speed: 'super'}); }) </script>
<script> $(document).ready(function (){ $('#MiniView').opineo('results.php', {curvalue:0, view: 'mini', callback: myCallback}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', animation_speed:'slow'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', animation_speed:'mild'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', animation_speed:'fast'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', animation_speed:'super'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', animation_speed:'ultra fast'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', votes_label:true}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', votes_label:false}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', show_votes_counter:true}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', votes_label:false}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', star_1_text:'Hate It'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', star_2_text:'Don't Like It'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', star_1_text:'Its OK'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', star_1_text:'Like It'}); }) </script>
<script> $(document).ready(function (){ $('#opineo').opineo('results.php', {curvalue:0, view: 'mini', star_1_text:'Love It'}); }) </script>