FOSS Factory Web API
Create an API that facilitates integration of FOSS Factory elements in other websites. This is intended as a proposed alternative to the landing page described in p126.
Sponsor This Project

You currently need to log in to sponsor a project. We apologize for the inconvenience.
Note: You can propose changes using the forum below.
Create an API that facilitates integration of FOSS Factory elements in other websites. This is intended as a proposed alternative to the landing page described in p126.
The API should allow any website to query information from FOSS Factory for display on its own pages.
The deliverable for this project is a patch to the FOSS Factory website that adds the required server-side API functionality. The patch must also add on-site documentation for the API itself, including clear instructions on how to integrate it into a website. The instructions should include sample PHP code.
For any project, the API must provide (without authentication) the following information in JSON format:
- name
- abstract
- requirements
- approximate (converted) value of the bounty in a specified currency
- the funding goal in a specified currency
- project lead's username
- project lead's full name
- the number of people watching the project
- the number of distinct sponsors
- the full URL of the project page
Ideally, the API should also enable users to perform certain actions that may require authentication, such as voting for a project and sponsoring a project. However, this goal currently needs more thought and discussion.
The API should allow any website to query information from FOSS Factory for display on its own pages.
The deliverable for this project is a patch to the FOSS Factory website that adds the required server-side API functionality. The patch must also add on-site documentation for the API itself, including clear instructions on how to integrate it into a website. The instructions should include sample PHP code.
For any project, the API must provide (without authentication) the following information in JSON format:
- name
- abstract
- requirements
- approximate (converted) value of the bounty in a specified currency
- the funding goal in a specified currency
- project lead's username
- project lead's full name
- the number of people watching the project
- the number of distinct sponsors
- the full URL of the project page
Ideally, the API should also enable users to perform certain actions that may require authentication, such as voting for a project and sponsoring a project. However, this goal currently needs more thought and discussion.
