## DESCRIPTION
* Documentation of api_counts api for internal tool.

## ENDPOINT
* `https://api-counts-internal.snwolley.com/api/counts/`        : returns api counts.



## REQUEST
* The `system_type` describes the service type being searched for mainly : 
   + "messenger"
   + "deywuro"
   + "all" - all services
* The `type` field describes the 'search by' type. These types include:
* Default for `start_date` and `end_date` is the current date. Pass datetime objects for specific date intervals
    + username
    + system_type
    + all        
    + start_date
    + end_date

* `https://api-counts-internal.snwolley.com/api/counts/`  
    + #### POST REQUEST EXAMPLE (PYTHON)
   ```
        json_payload = {
        "username" : "",
        "system_type" : "all",   
        "start_date" : " ",
        "end_date"  : " "
   }
      req = requests.post("https://api-counts-internal.snwolley.com/api/counts/", json=json_payload)   
   ```
   + #### RESPONSE EXAMPLE
   ```
        {
            "code": 200,
            "total_count": 111570200
        }
   ```
   + #### RESPONSE CODES
   ```
        response code|response
        -------------|-------------
             200     | ok
             404     | no matching searches
             505     | search failed

   ```

