473,387 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

I am trying to use the 'get' function with a url from a spreadsheet in Sheety but it isnt printing me out any data in Python

I was using the get function to print the data from a spreadsheet in Sheety but when I pressed the run button, it just said: 'Process finished with exit code 0' so why am I no getting the data printed out? Here is my code(I also want to put the code in a class):

```
import requests

SHEETY_PRICES_ENDPOINT = 'https://docs.google.com/spreadsheets/d/1tHNqhwNfvixlV3Xc4-LHR0MgjHraNTpQk5dhNynM7wI/edit?usp=sharing'


class DataManager:

def get_destination_data(self):
response = requests.get(SHEETY_PRICES_ENDPOINT)
data = response.json()

print(data.text)
```
Aug 24 '22 #1
0 5924

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: uri bushey | last post by:
So I have a tkinter based little program in Python that has a canvas loaded with a WaveSurfer (http://www.speech.kth.se/wavesurfer/) widget. I am trying to print the contents of the WaveSurfer...
3
by: Philipp | last post by:
Hello I profiled my program and got as result that two functions taking each 10% of the calculation time are simple get() for a member of a class (returning a pointer). Do you think that...
2
by: upadhyay | last post by:
Hi, I was working on a dir like function that gives more information than the usual dir, but I am not satisfied with the way I get function arguments for callable members of an object. Take a...
0
by: metamedia | last post by:
How do I get a datagrid to register a data change from a custom control cell (combobox) I've got a Windows Application with a Windows Form Datagrid that has a custom combobox column. When the user...
2
by: xhenxhe | last post by:
I'm using Indy Sockets for some automation. I FTP files to a UNIX and Linux server, run the files using SSH and then FTP them back locally. Everything seems to work find until FTPing back to the...
1
by: faryal | last post by:
hi, i want to know wat Get function do in VB6.0 .here is a piece of code in which it is used but i m not able to understand...can any body help????Dim Ending As Long, end2 As Long SavePicture...
1
FSUKXAZ
by: FSUKXAZ | last post by:
I'm trying to change Identity on field w/Data using SQL Manager and cannot. The table is called Members and the field is called MemberID. It is already the Primary key, Not Null, and Unique...
4
by: WuJianWei | last post by:
Is there a way(function) to distingusih between different data types? if u can, provide me with the code... thank u...
7
by: dmitrey | last post by:
hi all, can anyone explain howto get function from module, known by string names? I.e. something like def myfunc(module_string1, func_string2, *args): eval('from ' + module_string1 + 'import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.