client-php icon indicating copy to clipboard operation
client-php copied to clipboard

update to v3

Open andrewlindemulder opened this issue 1 year ago • 11 comments
trafficstars

All of the routes appear to be using the deprecated v2 endpoint. Specifically the reference api endpoint.

{"error":"The API you are requesting has been deprecated. Please refer to https://polygon.io/docs/get_v3_reference_tickers_anchor for the new endpoint","status":"ERROR"}

Screenshot 2024-02-10 111722

andrewlindemulder avatar Feb 10 '24 16:02 andrewlindemulder

@qrpike any chance we can get this updated?

andrewlindemulder avatar Feb 27 '24 01:02 andrewlindemulder

Hey @andrewlindemulder, we're working on a totally updated library. I should have something shortly here -- in the next week or do.

justinpolygon avatar Feb 27 '24 05:02 justinpolygon

Awesome! I'm excited to use it and looking forward to it!

andrewlindemulder avatar Feb 27 '24 16:02 andrewlindemulder

Hello, i just started using polygon with developer plan.. im looking forward for the update as well.

ephraimlambarte avatar Mar 08 '24 00:03 ephraimlambarte

Any news about upcoming update?

MixMe avatar Mar 10 '24 14:03 MixMe

i changed to using: https://www.alphavantage.co/ its free and you can use it right away.

ephraimlambarte avatar Mar 12 '24 12:03 ephraimlambarte

Sorry it's taking so long. We're just ironing out some bugs. I'll send an update shortly when we have released it.

justinpolygon avatar Mar 12 '24 12:03 justinpolygon

considering how expensive the API is for enterprise users, it's quite a shame this client is not working with v3...

sammyaxe avatar Mar 20 '24 20:03 sammyaxe

almost 2 months after "next week". Any update?

andrewlindemulder avatar Apr 19 '24 23:04 andrewlindemulder

HI @andrewlindemulder, I'm sorry this is taking so long. We're attempting to automate the generation of client libraries using an openapi spec and there is a learning curve here ironing out the workflow. That's what is taking the time. I'm just doing the one-by-one final validation on each endpoint. We're found lots of little issues along the way and that is the hold up. Not an excuse but at least you know what the delay is. I hope we have something to show off very soon. The updated client will support all the latest endpoints with full examples for each one. This will be a major improvement. Again, I'm sorry for the delay.

justinpolygon avatar Apr 20 '24 00:04 justinpolygon

Hi @andrewlindemulder, the updated client has been released and supports all v3 endpoints. Here's an example for the original issue https://github.com/polygon-io/client-php/blob/master/docs/Api/ReferencetickerslistApi.md#listtickers. I'm sorry this took so long. We're working to add even more features to this client such as improved debugging and streaming websocket examples. This is a work in progress so if you find any issues please let us know and we'll fix them.

justinpolygon avatar Apr 24 '24 13:04 justinpolygon