Skip to content

Latest commit

 

History

History
 
 

03-apis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

APIs and Libraries

Emoji Key for Video Tutorials, Readings, and more

  • 🚨 Watch this video tutorial! (this is technical info needed for the examples). Of course if you alreaddy know this material, you can skip.
  • 🔢 This is found in a group, maybe pick just one to check out!
  • 🍿 Additional video if you have a particular interest and want to do a deeper dive.
  • 📕 Required reading! Let's make sure we all have read this.
  • 📚 Optional additional reading for a deeper dive.
  • 💻 Code examples here!
  • 🔗 Extra reference material / link

NLP Libraries

Data and APIs

JSON

Dictionary / Lexicon / Word Finding APIs

JavaScript nuts and bolts

APIs

Reading

Assignment

  1. Load "external" data in a browser-based text experiment. You may use the p5 loadJSON() function featured in many of the video tutorials, but this is also an opportunity to explore the JavaScript fetch API with await and async as found in these examples. See above for relevant video tutorials. Here are some ideas:

    • Look through Corpora and download JSON files for use in a p5.js sketch. This is also a great repo to make your first open source contribution! If you are interested in trying as part of your assignment, you can follow these instructions from Open Source Studio and submit a pull request.
    • Use RiTa.js or Compromise to analyze and/or modify text.
    • Use Wordnik to lookup meta-data about a word.
    • Try using another API from the examples (NYTimes, Wikipedia, etc.) or pick your own not in the examples!
  2. Document your experience working with the library, API, or data source in a blog post and consider the following questions (stemming from the Excavating AI reading.

    • What is the origin of the data?
    • Who had the power to collect, label, and make available the data?
    • If you had to create a "data biography" (Thank you to Ellen Nickles for this term), what would you include? Have the maintainers of this dataset or API made this information easily available?
    • What potential harms could result from the collection, use (or misue) of the data?

Add your assignment below via Pull Request

(Please note you are welcome to post under a pseudonym and/or password protect your published assignment. Here is some helpful information on privacy options for an NYU blog. Finally, if you prefer not to post your assignment at all here, you may email the submission.)