# How to read a github repository file through api in Ignition?

**URL:** <https://forum.inductiveautomation.com/t/how-to-read-a-github-repository-file-through-api-in-ignition/77609>\
**Category:** General Discussion\
**Tags:** scripting\
**Created:** [August 9, 2023, 5:27am UTC](https://forum.inductiveautomation.com/t/how-to-read-a-github-repository-file-through-api-in-ignition/77609 "2023-08-09T05:27:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rohit\_Das](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@Rohit\_Das](https://forum.inductiveautomation.com/u/Rohit_Das)\
**Post date:** [August 9, 2023, 5:27am UTC](https://forum.inductiveautomation.com/t/how-to-read-a-github-repository-file-through-api-in-ignition/77609/1 "2023-08-09T05:27:49Z")

</div>

I need to read a github repository file through api in Ignition.  
I have created a private access token also. How to proceed further?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [August 9, 2023, 5:36am UTC](https://forum.inductiveautomation.com/t/how-to-read-a-github-repository-file-through-api-in-ignition/77609/2 "2023-08-09T05:36:36Z")

</div>

StackOverflow will already have a tonne of results for this. This isn't Ignition-related. I've moved this topic into General Discussion and added the `scripting` label

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 9, 2023, 1:16pm UTC](https://forum.inductiveautomation.com/t/how-to-read-a-github-repository-file-through-api-in-ignition/77609/3 "2023-08-09T13:16:40Z")

</div>

Take any off the shelf REST API examples and translate them to calls to system.net.httpClient, basically.
