List of Events/Releases Program Help
Posted by Koss_Kroft@reddit | learnprogramming | View on Reddit | 5 comments
I want to make a program that creates a timeline-esque list of a painter’s works and their date of release.
What’s the simplest way to do something like this? What programming skill sets does it require?
SpeckiLP@reddit
Honestly I’d start super simple before overbuilding it
like just a list of works in JSON or even a spreadsheet, then sort by year and display it however you want. that already gets you like 80 percent there
if you want it to feel more visual later, a basic web page timeline is a nice add on
are you planning to include images too or just titles and dates? that part can change things a bit
Kitchen-Fan-9284@reddit
json and some basic sorting
johnpeters42@reddit
Or SQL. Or a spreadsheet.
What's the larger context here? Are you wanting to also store photos of the works? Present them on a web site?
Koss_Kroft@reddit (OP)
I guess what I meant was a program that does an internet search and compiles the info into a list
gofuckadick@reddit
Doing a search would honestly complicate a lot of things for a beginner. I would really suggest working with a single structured source, like The Met Collection API or The Art Institute of Chicago API .
A simple version would look like this: input the artist name, fetch the data, clean it up (remove missing/invalid data), sort by year (or whatever), output to a file (text/CSV/HTML), then display it somehow (web page/using vis-timeline/something else).
I would recommend Python, or possibly JavaScript.
If you really want to do a full web search then it's possible, but it would add on a whole other layer of things to do - you'd need to search, then scrape & parse the HTML, deduplicate the results, extract the dates and other information, then handle contradictory sources (ie, one site says a painting is from 1888, another one says 1889, another one says "late 1800s" - how do you pick one or estimate the correct date?). Going off of one source would make it much easier if you haven't worked with web scraping or JSON.