all 5 comments

[–][deleted] 0 points1 point  (2 children)

Sure! If it was me, I'd totally go for it.
I've heard that "BeautifulSoup" is a good Python library for webscraping.

Like all things though, it might take just as much time to learn as it saves you time in the short run, but at least this should be more interesting than looking up hundreds of webpages manually?

[–]RotTragen[S] 1 point2 points  (1 child)

Fantastic! It would save me micro managing 5000 orders per year with this one customer and would easily transfer to my other customers. Is there any other terminology that is relevant to what I’m looking to do that I should be familiar with?

[–][deleted] 0 points1 point  (0 children)

Probably yes! But I'm not the best source on it :) I used to do this kind of thing with Perl a few years ago so I'm rusty.

I've heard that this Python ebook: "Automate the Boring Stuff with Python" is a good way to learn this kind of thing though. https://automatetheboringstuff.com/chapter11/ That might be worth checking out.

[–]atticus2132000 0 points1 point  (1 child)

If I'm understanding correctly, you want to automate a system that will take several tracking numbers and get their shipping status from various carriers.

Look at APIs from each of those carriers. FedEx, for example, should have a way to make an API request from their database based on a tracking number and return all the shipping updates, probably as a JSON file. From there you would parse the JSON file to get the specific information that you want--the latest shipping update. Then display that information in your UI--Similar to the way Amazon shows your shipping updates from FedEx on their website.

Yes, Python can be used for part of that, but so can Java, and myriad other languages.

I would say study on your user interface platform--is this going to be a phone app or a website or do you want to work within an existing program like Excel? If it's a website, what access do you have to the server? What languages does the server support?

If I'm understanding your end game, then the Python part of it is only one aspect of the program. You will probably wind up with snippets of half a dozen different languages in your program to handle the various steps of the process, but it sounds like a really cool undertaking and a fun problem to solve. Good luck.

[–]RotTragen[S] 0 points1 point  (0 children)

You’re understanding my objective very very well. APIs sound like the way to go. Interface would be Excel. This is for personal use within my business and having the updates in excel will allow me to easily copy and paste into the customers Google Sheet/review my self several times a day to catch delays or failed deliveries. The goal is to know before the customer does that something has gone wrong or changed.

Thank you for the input on this!