PHPackages                             mvogelgesang/data\_gov\_admin\_api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mvogelgesang/data\_gov\_admin\_api

ActiveLibrary[API Development](/categories/api)

mvogelgesang/data\_gov\_admin\_api
==================================

Simple PHP SDK to connect to the api.data.gov API Umbrella.

08PHP

Since Mar 8Pushed 11y ago1 watchersCompare

[ Source](https://github.com/mvogelgesang/data_gov_admin_api)[ Packagist](https://packagist.org/packages/mvogelgesang/data_gov_admin_api)[ RSS](/packages/mvogelgesang-data-gov-admin-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

api.data.gov Admin API
======================

[](#apidatagov-admin-api)

Simple PHP SDK to connect to the api.data.gov API Umbrella.

Prerequisites
-------------

[](#prerequisites)

- [Composer](https://getcomposer.org/)

Installation
------------

[](#installation)

- Clone repo
- Run `composer install`

Examples
--------

[](#examples)

Create Client

```
$client = new ApiDataGovClient('apiKey','adminAuthToken');
```

### Get Users

[](#get-users)

```
$response = $client->getUsers();
```

#### Response

[](#response)

```
{
    "draw": 0,
    "recordsTotal": 5323,
    "recordsFiltered": 5323,
    "data": [
        {
            "created_at": "2013-05-02T18:53:42Z",
            "created_by": null,
            "deleted_at": null,
            "disabled_at": null,
            "email": "emailAddress1@example.gov",
            "first_name": "John",
            "last_name": "Doe",
            "registration_source": "web",
            "roles": null,
            "throttle_by_ip": null,
            "updated_at": "2014-01-20T12:59:02Z",
            "updated_by": null,
            "use_description": "",
            "version": 3,
            "website": null,
            "api_key_preview": "string...",
            "id": "long-hash-String"
        },
        {
            "created_at": "2012-06-28T02:54:37Z",
            "created_by": null,
            "deleted_at": null,
            "disabled_at": null,
            "email": "emailAddress@example.gov",
            "first_name": "Jane",
            "last_name": "Doe",
            "registration_source": "web",
            "roles": null,
            "throttle_by_ip": null,
            "updated_at": "2014-01-20T12:59:02Z",
            "updated_by": null,
            "use_description": "",
            "version": 3,
            "website": "http://gsa.gov",
            "api_key_preview": "string...",
            "id": "long-hash-String"
        },
        ....
    ]
 }
```

### Get User

[](#get-user)

```
$users = $client->getUser('unique-user-id');
```

#### Response

[](#response-1)

```
{
    "user": {
        "id": "unique-user-id",
        "api_key_preview": "string...",
        "first_name": "John",
        "last_name": "Doe",
        "email": "example.email@example.com",
        "website": null,
        "use_description": "here is a description",
        "registration_source": "web_admin",
        "throttle_by_ip": false,
        "roles": [
            "api_write"
        ],
        "enabled": true,
        "created_at": "2015-02-19T16:08:21Z",
        "updated_at": "2015-02-19T16:08:21Z",
        "settings": {
            "id": "hash-string",
            "rate_limit_mode": null,
            "allowed_ips": null,
            "allowed_referers": null,
            "rate_limits": []
        },
        "creator": {
            "username": "creator@example.gov"
        },
        "updater": {
            "username": "creator@example.gov"
        }
    }
}
```

More Information
----------------

[](#more-information)

- [API Umbrella Admin API Docs](http://nrel.github.io/api-umbrella/docs/admin-api/)
- [NREL API Umbrella Repo](https://github.com/NREL/api-umbrella)

More Information
----------------

[](#more-information-1)

- [API Umbrella Admin API Docs](http://nrel.github.io/api-umbrella/docs/admin-api/)
- [NREL API Umbrella Repo](https://github.com/NREL/api-umbrella)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4053083?v=4)[Mark Vogelgesang](/maintainers/mvogelgesang)[@mvogelgesang](https://github.com/mvogelgesang)

---

Top Contributors

[![mvogelgesang](https://avatars.githubusercontent.com/u/4053083?v=4)](https://github.com/mvogelgesang "mvogelgesang (12 commits)")

### Embed Badge

![Health badge](/badges/mvogelgesang-data-gov-admin-api/health.svg)

```
[![Health](https://phpackages.com/badges/mvogelgesang-data-gov-admin-api/health.svg)](https://phpackages.com/packages/mvogelgesang-data-gov-admin-api)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
