DEV Community

Isaiah
Isaiah

Posted on

Update on eBay Auto Poster

Update

The eBay Auto Poster has been in development for about 2 months now, entirely by me which is why it is slow-going and terribly coded :3

So far the program is able to pull data from the eBay API and respond with JSON data.

Image of the JSON Data for the Code

Here is a screenshot of the JSON Data being returned from a search

It's going along slowly, I need to finish formatting and JSON parsing stuff before I can then work on the automation.


Current Problem

I am trying to the the oAuth token to automatically be assigned within the headers so the API can auto-update. Right now I am just manually generating the token and pasting it into the API.

Auth Example

Authorization: "Bearer " + 'v^1.1#i^1#r^0#p^3#I^...

I need to figure out how to get Axios to pull the access token automatically and change the token whenever a new oAuth token is generated

Anyway, I may be a terribly slow coder but at least I am having fun while being stuck for hours on end and that's enough for me

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay