Overview

Packages

  • LegiScan
    • API
    • Cache
    • Common
    • Exceptions
    • Utility
  • PHP

Classes

  • LegiScan
  • LegiScan_CommandLine
  • LegiScan_Endpoint
  • LegiScan_Import
  • LegiScan_WebTest
  • LegiScan_Worker
  • Overview
  • Package
  • Class

Class LegiScan_WebTest

A web interface for testing the LegiScan Pull API class

The web interface is primarily for demonstration purposes to generate single API requests to examine payload structure. The LegiScan API client and legiscan-ui.php should be accessible by your web server. Then point your brower to the URL of interface script

http://example.com/legiscan/legiscan-ui.php

Enter your API key in the space provided, select the type of payload request you would like and enter the appropriate ID, then click Run Test.

The system will then output the URL used to generate the request, the raw JSON response and decoded payload data structure.

Package: LegiScan\Utility
Copyright: 2010-2020 LegiScan LLC
License: https://opensource.org/licenses/BSD-2-Clause
Author: LegiScan API Team api@legiscan.com
See: LegiScan_Pull
Link: https://api.legiscan.com/dl/
Located at legiscan-ui.php
Methods summary
public
# processPOST( )

Web based demo to provide a form to generate a Pull API call and dump the results

Web based demo to provide a form to generate a Pull API call and dump the results

LegiScan API Client API documentation generated by ApiGen