ScrAPIr

Tarfah Alrashed, Jumana Almahmoud, Amy X. Zhang and David R. Karger

Abstract

Users have long struggled to extract and repurpose data from websites by laboriously copying or scraping content from web pages. An alternative is to write scripts that pull data through APIs. This provides a cleaner way to access data than scraping; however, APIs are effortful for programmers and nigh-impossible for non-programmers to use. In this work, we empower users to access APIs without programming. We evolve a schema for declaratively specifying how to interact with a data API. We then develop ScrAPIr: a standard query GUI that enables users to fetch data through any API for which a specification exists, and a second GUI that lets users author and share the specification for a given API. From a lab evaluation, we find that even non-programmers can access APIs using ScrAPIr, while programmers can access APIs 3.8 times faster on average using ScrAPIr than using programming.

Venue
CHI 2020
Volume
Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3313831.3376691
PDF
https://dl.acm.org/doi/pdf/10.1145/3313831.3376691
Anthology ID
2020.chi.560

Cite

@inproceedings{alrashed-etal-2020-scrapir,
    title = {{ScrAPIr}},
    author = {Tarfah Alrashed and Jumana Almahmoud and Amy X. Zhang and David R. Karger},
    booktitle = {Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450367080},
    year = {2020},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3313831.3376691},
    url = {https://doi.org/10.1145/3313831.3376691},
    abstract = {Users have long struggled to extract and repurpose data from websites by laboriously copying or scraping content from web pages. An alternative is to write scripts that pull data through APIs. This provides a cleaner way to access data than scraping; however, APIs are effortful for programmers and nigh-impossible for non-programmers to use. In this work, we empower users to access APIs without programming. We evolve a schema for declaratively specifying how to interact with a data API. We then develop ScrAPIr: a standard query GUI that enables users to fetch data through any API for which a specification exists, and a second GUI that lets users author and share the specification for a given API. From a lab evaluation, we find that even non-programmers can access APIs using ScrAPIr, while programmers can access APIs 3.8 times faster on average using ScrAPIr than using programming.}
}