Shapir: Standardizing and Democratizing Access to Web APIs
Authors
Human-LLM CollaborationAutoML InterfacesSoftware Engineers & DevelopersHCI Researchers
Document Title
Shapir: Standardizing and Democratizing Access to Web APIs
Document Information
- Subject Area: Standardization and Democratization of Web API Access
- Keywords: Web APIs, API Description Languages, Schema.org, Semantic Web, API Integration, Programming Interfaces, Data Interoperability, Mavo, ShapirJS, WoOPI
Research Background and Problem Statement
- Problems or Challenges:
- The syntax and data models of Web APIs across different websites are not standardized, requiring users to manually write complex HTTP requests, handle pagination, authentication, etc.
- Developers spend significant time reading documentation and learning each API, posing high difficulty for non-professional users.
- The lack of a unified standardized model for APIs limits cross-website data integration and reuse.
- Significance:
- Standardizing and simplifying API access can greatly reduce development workload, enable more users to reuse data across multiple websites, and improve development efficiency.
- Research Motivation and Related Work:
- Based on Schema.org and existing API description methods (e.g., OpenAPI, Swagger), the authors aim to develop a unified API standard and tools to overcome limitations in describing data models and relationships in current methods.
Solution
- Method or Solution:
- Propose the "Web of Objects Programming Interface (WoOPI)":
- Provide a standardized API description language built on Schema.org, capable of describing objects, attributes, methods, and their relationships managed by APIs.
- Develop "ShapirJS":
- A tool to wrap Web API data into locally operable JavaScript objects, simplifying API calls.
- Provide "ShapirUI":
- A visual tool that allows users to generate WoOPI descriptions for APIs through a graphical interface.
- Integration with "Mavo":
- Enables non-developers to create interactive, API-based data management applications by writing HTML.
- Propose the "Web of Objects Programming Interface (WoOPI)":
- Innovations:
- Map API data models based on Schema.org standards to achieve unified operations across multiple APIs.
- Provide a graphical tool (ShapirUI) for creating WoOPI descriptions without programming, lowering technical barriers.
- Seamlessly integrate with Mavo, allowing non-developers to operate API data using only HTML.
- Implementation Steps and Techniques:
- WoOPI generates standardized object-method models by analyzing existing API practices (e.g., CRUD methods).
- ShapirJS dynamically generates JavaScript API libraries based on WoOPI models, automatically handling pagination, authentication, and asynchronous operations.
- ShapirUI combines semantic analysis and intelligent matching to assist users in mapping site APIs to Schema.org types.
- Integration with Mavo supports simple HTML-based API operations through standard attributes and methods.
Research Outcomes
- Specific Outcomes:
- Designed the WoOPI description language, capable of describing approximately 90% of existing Web APIs.
- Developed the ShapirJS library and ShapirUI tool, successfully integrating them with Mavo.
- ShapirJS supports unified management of cross-site data using standard object types (e.g., VideoObject) while automatically completing necessary API calls.
- Advantages:
- ShapirJS accelerates multi-API tasks by approximately 5.6 times compared to Swagger.
- Non-programmers using ShapirJS and Mavo can complete data management applications within minutes, lowering technical barriers.
- Modular design of the toolchain supports future replacement and expansion.
- Experiments and Evaluation:
- Developers using ShapirJS for API tasks completed them significantly faster than traditional methods (e.g., Swagger).
- Non-programmers took only 4 minutes to build cross-API applications using Mavo and ShapirUI.
- User studies showed high usability, enabling users without technical backgrounds to quickly participate.
- Limitations and Future Directions:
- Schema.org's attribute representation is overly broad (inconsistencies in singular/plural forms and types), requiring stronger validation mechanisms in the future.
- Currently, only API data reading capabilities are implemented; future work should expand to support write operations.
- Mapping website APIs to Schema.org standard types is challenging; exploring automation or community collaboration could improve consistency.
- Limitations in cross-website data operations (e.g., inability to store data from one site on another).
Through this research, Shapir and its ecosystem bring transformative simplification to Web API data access and integration, while promoting the creation and practice of standardized interoperable tools.
Research Questions / Practical Problems
Question signals indexed for this paper.
help
Research Questions
3- How can Web API objects, properties, methods, and relationships be standardized to enable cross-site data integration?Category: Web API Integration and Standardization ToolsSimilar questionsarrow_forward
- How do ShapirJS and ShapirUI lower the difficulty for non-technical users operating Web APIs?Category: Web API Integration and Standardization ToolsSimilar questionsarrow_forward
- Can Schema.org-based Web API standardization significantly improve multi-API task development efficiency?Category: Web API Integration and Standardization ToolsSimilar questionsarrow_forward
lightbulb
Practical Problems
1- Developers struggle to quickly integrate Web API data across sites; non-technical users struggle to operate APIs.Category: Web API Integration and Standardization ToolsSimilar questionsarrow_forward
- 75%
MAPLE: Mobile App Prediction Leveraging Large Language Model Embeddings
UbiComp '24· Human-LLM Collaboration
- 75%
LlamaTouch: A Faithful and Scalable Testbed for Mobile UI Task Automation
UIST '24· Human-LLM Collaboration
- 67%
Never-ending Learning of User Interfaces
UIST '23· Human-LLM Collaboration +2
- 60%
AffectiveSpotlight: Facilitating the Communication of Affective Responses from Audience Members during Online Presentations
CHI '21· Social & Collaborative VR +1
- 60%
Evaluating Large Language Models in Generating Synthetic HCI Research Data: a Case Study
CHI '23· Human-LLM Collaboration +1
- 60%
Model Compression in Practice: Lessons Learned from Practitioners Creating On-device Machine Learning Experiences
CHI '24· Human-LLM Collaboration +1
- 60%
DynEx: Dynamic Code Synthesis with Structured Design Exploration for Accelerated Exploratory Programming
CHI '25· Human-LLM Collaboration +1
- 60%
InstructPipe: Generating Visual Blocks Pipelines with Human Instructions and LLMs
CHI '25· Human-LLM Collaboration +1
- 60%
SummAct: Uncovering User Intentions Through Interactive Behaviour Summarisation
CHI '25· Human-LLM Collaboration +1
- 60%
Interactive Hyperparameter Optimization with Paintable Timelines
DIS '21· Human-LLM Collaboration +1
Based on Jaccard similarity of research subtopics & professions (≥60%)
Quick Actions
AdRecommended
Learn AI Coding at CodeNow
open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3472749.3474822
At a Glance
fact_checkPaper Snapshot
dataset
Source
UIST
calendar_month
Year
2021
emoji_events
Award
No award tagged
group
Authors
3 authors
sell
Subtopics
Human-LLM Collaboration, AutoML Interfaces
work
Professions
Software Engineers & Developers, HCI Researchers
article
Content Status
Full text indexed
hub
Related Papers
10 related papers