# How to access this api from postman

**URL:** https://opendataforum.transport.nsw.gov.au/t/how-to-access-this-api-from-postman/102
**Category:** App development
**Created:** [April 27, 2016, 10:08am UTC](https://opendataforum.transport.nsw.gov.au/t/how-to-access-this-api-from-postman/102 "2016-04-27T10:08:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dhamu143](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dhamu143](https://opendataforum.transport.nsw.gov.au/u/dhamu143)
#### Post date: [April 27, 2016, 10:08am UTC](https://opendataforum.transport.nsw.gov.au/t/how-to-access-this-api-from-postman/102/1 "2016-04-27T10:08:45Z")

</div>

how to access this api from php code? whaterver i found regarding this api is in python so is ther anyone who is working with php to access this api??  
please help me

---

<div class="post-metadata">

### Author: ![jason120au](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@jason120au](https://opendataforum.transport.nsw.gov.au/u/jason120au)
#### Post date: [April 28, 2016, 2:03am UTC](https://opendataforum.transport.nsw.gov.au/t/how-to-access-this-api-from-postman/102/2 "2016-04-28T02:03:03Z")

</div>

If you are accessing the realtime feeds in protobuffer format your better at having Python installed so you can export the feed as a json file and then use PHP to manipulate it ie store it in a mysql DB or whatever. There is a PHP class you can install on the Google GTFS page that can open the realtime feeds but there is not a lot of source code available to figure out what functions in the Google supplied class you need to call to get the information you want. For this reason I used the [GitHub - harrytruong/gtfs\_realtime\_json: Standalone utility to convert gtfs-realtime feeds into simple JSON.](https://github.com/harrytruong/gtfs_realtime_json) Python application to convert the GTFS realtime feed provided by TfNSW into JSON for easy manipulation.
