8000 GitHub - alexisintech/US-citizenship-test-api: Contributed to Brendon's project by designing and writing a significant portion of the CSS for this project.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Contributed to Brendon's project by designing and writing a significant portion of the CSS for this project.

Notifications You must be signed in to change notification settings

alexisintech/US-citizenship-test-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

US-citizenship-test-api

U.S. Citizenship Test Questions and Answers API. The U.S. citizenship exam, which tests an applicant’s knowledge of U.S. history and government, is given orally during the U.S. citizenship interview. The citizenship test consists of 100 questions. The U.S. Citizenship and Immigration Services (USCIS) officer will ask the applicant 10 of the 100 questions, and the applicant must answer 6 out the 10 questions correctly in order to pass the civics test. Below you will find all 100 questions and correct answers for the 2008 version of the civics test. Topics include: American Government American History Integrated Civics

How to fetch: https://american-citizenship-test.herokuapp.com/query-parameter

Parameters

Query Parameter Description /api Returns all 100 questions /api/random Returns one random question from the whole question bank /api/government Returns all the questions with the topic "American Government" /api/government/random Returns one random question with the topic "American Government" /api/history Returns all the questions with the topic "American History" /api/history/random Returns one random question with the topic "American History" /api/civics Returns all the questions with the topic "Integrated Civics" /api/history/random Returns one random question with the topic "Integrated Civics" Example query

https://american-citizenship-test.herokuapp.com/api/random

returns

    { 
      "id":88,
      "question":"Name one of the two longest rivers in the United States.",
      "answer":"Missouri (River), Mississippi (River)",
      "topic":"Integrated Civics",
      "subTopic":"Geography"
    }

About

Contributed to Brendon's project by designing and writing a significant portion of the CSS for this project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.0%
  • HTML 6.0%
0