# Web API to retrieve the contents of a Google Doc

**URL:** <https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808>\
**Category:** Questions about Thunkable X\
**Created:** [October 2, 2020, 12:27am UTC](https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808 "2020-10-02T00:27:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 2, 2020, 12:27am UTC](https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808/1 "2020-10-02T00:27:08Z")

</div>

My ultimate goal is to import and GPX file into Thunkable.

One less-than-ideal solution is to cut-and-paste it into a textbox and read it in. I’m trying to find a better, automated solution. I’m also looking for a solution with little to no manipulation of the GPX file.

Is it possible to to use the WebAPI blocks to import the contents of a Google Doc?

I tried using a Data Source of a Google Sheet. This would work for files under 50,000 characters. But the files I need to import are larger than 50k.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 2, 2020, 4:14am UTC](https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808/2 "2020-10-02T04:14:08Z")

</div>

This might be useful: [GPS navigation offline](http://community.thunkable.com/t/gps-navigation-offline/862364/2)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 2, 2020, 10:27am UTC](https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808/3 "2020-10-02T10:27:52Z")

</div>

Thanks for the link [tatiang](http://community.thunkable.com/u/tatiang). I already have the GPX files, so AllTrails doesn’t really help.

The big question is how to get ANY sort of file into Thunkable (GPX, JSON, CSV, whatever). Currently I am using cut-and-paste. But I’d rather have a more elegant solution if possible.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [October 2, 2020, 2:37pm UTC](https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808/4 "2020-10-02T14:37:45Z")

</div>

Yeah, there really needs to be an import function for a local db (database). I don’t think there’s any way to do it besides copying and pasting and I don’t know what the limits are for that.

If your app functions when connected to the Internet and your data is accessible from an API or can be entered into a Google Sheet / Airtable, then this is simple. But for offline use, it’s another story.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 3, 2020, 12:28pm UTC](https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808/5 "2020-10-03T12:28:29Z")

</div>

Unfortunately, the GPX file sources don’t have a webAPI (that I can find) and getting the data into a google sheet requires parsing, so i’m not saving any effort.

Thanks for the suggestions.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:23pm UTC](https://community.thunkable.com/t/web-api-to-retrieve-the-contents-of-a-google-doc/866808/6 "2024-11-08T12:23:39Z")

</div>


