Description
The task of the project was to develop the polls for USA election. We used the plugin mTouch Quiz that allows to create polls and Vote Smart API that helps to get different information about US elections: candidates, election districts, positions etc., Quiz and Vote Smart API were integrated for this purpose. The functional for the work with Vote Smart API was implemented in such way that returned information depends on user`s zip code. Shortcodes were created for the plugin mTouch Quiz, these shortcodes allow to output information (received from Vote Smart API) in questions and answers.