Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
2k views

cannot import name 'RESTClient' from 'polygon'

While i trying to conect polygon API using python: from polygon import RESTClient and it would result: cannot import name 'RESTClient' from 'polygon' But I dont know why it isn't work. It originaly ...
Jay Lin's user avatar
  • 31
0 votes
1 answer
807 views

How can I modify this Polygon.io Restclient code such that I don't receive the noted _session error?

I'm trying to use a YouTube guide to build code to download Forex Data from Polygon.io's API. I am nearly copying and pasting the code from GitHub, but I am getting an error relating to "_session&...
thetadecay's user avatar
0 votes
1 answer
60 views

Not able to get URL/Cookies in Ruby buts its working with Python

I am having a problem in accessing a URL via ruby but it is working with python's requests library. Here is what I am doing, this link https://www.nseindia.com/get-quotes/derivatives?symbol=SBIN I ...
Devesh's user avatar
  • 7
0 votes
2 answers
5k views

How to fix 'No such file or directory: '/home/jenkins/.kube/config'' when using load_incluster_config in python openshift rest client

I wrote a script that checks some secrets within an OpenShift cluster. I used the python rest-client library for Openshift and the script is executed within the cluster. But i always get IOError: [...
MartinD's user avatar
  • 23
0 votes
1 answer
5k views

async post call in python 2.7?

i have a project on python 2.7. i need to make async post call to connect aws. i have an code for async in python 3.5 by using asyncio.but my code needs to work on python2.7 2.7.please guide me how to ...
Vivek Annamalai's user avatar
0 votes
1 answer
251 views

need to persist cookies in Ruby ala Python's 'requests' library Session() object

So I have a Python script that's working successfully to call a series of URLs with get and post requests, which eventually results in an authentication token I can use for further work. The Python ...
ether_joe's user avatar
  • 1,128
0 votes
1 answer
120 views

OpenSSL error - RestClient Gem - Python WSGI

Issue : I'm struggling on a SSL issue. I'm trying to connect to a Web server for a Python application but each time I execute a request, I have this error : RestClient::SSLCertificateNotVerified: ...
Uelb's user avatar
  • 4,123
1 vote
1 answer
831 views

How to traverse a neo4j graph using python neo4jrestclient

I'm trying to follow the code example here: https://neo4j-rest-client.readthedocs.org/en/latest/traversals.html n1.traverse(types=[client.All.Knows])[:] But I don't understand what kind of obect '...
Harry Palmer's user avatar
2 votes
2 answers
2k views

Indexing nodes in neo4j in python

I'm building a database with tag nodes and url nodes, and the url nodes are connected to tag nodes. In this case if the same url is inserted in to the database, it should be linking to the tag node, ...
jvc's user avatar
  • 612