APIDoc

Did You Know?

Source Code

Users Info

Hajana One users can easily find out thier information by using the following base url and parameters.

Base URL

                                           http://www.hajanaone.com/api/user-info.php
                                    

Important Parameters

Follow the following parameters

     
Parameters Requeired Where it
apikey Yes Get your api key from your Dashboard.

Sample Code

                                        
                                            <?php
                                            
                                           $apikey = "ZJN*****vB";
                                           
                                            $url = 'https://www.hajanaone.com/api/user-info.php?apikey='.$apikey;
                               
                                                $ch=curl_init();
                                                curl_setopt($ch, CURLOPT_URL,$url);
                                                curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
                                                curl_setopt($ch, CURLOPT_HEADER, 0);
                                                $result = curl_exec ($ch);
                                                echo $result;
                                                
                                            ?>
                                        
                                    

Complete API URL

                                          http://www.hajanaone.com/api/user-info.php?apikey=e35******vt6