Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here is the steps for your problem you need to make two file.</p> <p>1) Wrapper file for itune API like "tune.php"</p> <p>2) file form retrive the results "get_result_from_api.php"</p> <p><strong>step 1 : Get Api url</strong></p> <p>make sure that your itune api work properly</p> <p>for e.g. </p> <p>enter code here</p> <pre><code>$authentic_api = $this-&gt;endpointurl . '?api_key=' . $this-&gt;api_key . '&amp;method=' . 'aj.jobs.search' . '&amp;keywords=' . $this-&gt;keywords . '&amp;location=' . $this-&gt;location. '&amp;perpage=' . $this-&gt;perpage ; echo $authentic_api; OUTPUT: http://www.authenticjobs.com/api/?api_key=3fb9a030d223ac8bb06eb07fea846182&amp;method=aj.jobs.search&amp;keywords=&amp;location=&amp;perpage=100 </code></pre> <p>check your output api in new tab and make sure that it displays the results in XML format or HTML format</p> <p>Step 2: Store the api results in XML or HTML format vice-verse..</p> <p>e.g.</p> <pre><code>$xmlstr = @file_get_contents( $authentic_api ); if( !$xmlstr == null ) $xml = new SimpleXMLElement( $xmlstr ); if( empty($xml) || $xml == null ) return null; $this-&gt;aj_results = $xml; return $xml; </code></pre> <p>Step 3 : Parse your xml or html results Parse results to get the selected data. And store it in the array and return values to "get_result_from_api.php"</p> <p>step 4: Print is out using the foreach loop you need to print out the results that you get form the wrapper class..</p> <pre><code>**e.g for your xml results** foreach($results as $result) { echo 'Currency : '.$result['currency'].'&lt;br /&gt;'; echo 'Email : '.$result['email'].'&lt;br /&gt;'; echo 'financial-status : '.$result['financial-status'].'&lt;br /&gt;'; //And all the other elements by it's tag name.. } </code></pre> <p>Hope this things helps you out.</p> <p>Because "Hope is the Good thing, MAy be the best of the things, And no good things ever dies!"</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload