Forum Documentation Showcase Pricing Learn more

Problem to GET data by Data API

somehow I face problem to get date from app Database by Data API

I want to download data and proceed them in external program, and then put back.

But I cannot read them

response is 404 not found

here is the request on python

import requests

import json

import urllib

session = requests.Session()

#API KEY as defined in the settings tab, so that the script has full access to the data

API_KEY = ‘XXXX’

base_url = ‘https://my-app.bubbleapps.io/api/1.1/obj/task

params = {‘api_token’: API_KEY}

url = base_url + ‘?’ + urllib.parse.urlencode(params)

response = session.get(url)

in fact I took it from here https://manual.bubble.is/using-the-bubble-api/examples.html

Please advice, what could be wrong?

Can you post the whole error message?

Also, did you put your specific app name in the web address for the base url?