PHPackages                             troussos/basis-data-export - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. troussos/basis-data-export

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

troussos/basis-data-export
==========================

Simple data exporter for the My Basis activity tracking watch

1.0(12y ago)012GPL-2.0+PHP

Since Oct 28Pushed 12y ago1 watchersCompare

[ Source](https://github.com/troussos/basis-data-export)[ Packagist](https://packagist.org/packages/troussos/basis-data-export)[ Docs](https://github.com/troussos/basis-data-export)[ RSS](/packages/troussos-basis-data-export/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Basis Data Export [![Build Status](https://camo.githubusercontent.com/e7d3f37a6a7f6ad35b1585aa2b88d12f07e45ec9674d2ea05f8d16bd5771ccd3/68747470733a2f2f7472617669732d63692e6f72672f74726f7573736f732f62617369732d646174612d6578706f72742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/troussos/basis-data-export) [![Scrutinizer Quality Score](https://camo.githubusercontent.com/f10eff76adae46ae47413bda381ad73ae7d7e94a8dfddbd4b5851f2c6c1f474a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74726f7573736f732f62617369732d646174612d6578706f72742f6261646765732f7175616c6974792d73636f72652e706e673f733d61646333643033323339303138393764623337646239666266303362363337383561313931383264)](https://scrutinizer-ci.com/g/troussos/basis-data-export/) [![Code Coverage](https://camo.githubusercontent.com/86f3aa9af2bee27809056af6644cc3121fb4b3d94c2086522534ec5b47165e70/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74726f7573736f732f62617369732d646174612d6578706f72742f6261646765732f636f7665726167652e706e673f733d66376262396236363134386636613266323634373965346135383530353135636532343432356563)](https://scrutinizer-ci.com/g/troussos/basis-data-export/)
===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#basis-data-export------)

Utility that exports and saves your Basis B1 device's uploaded sensor data. You can learn more about Basis at

This project is a fork of [basis-data-export](https://github.com/btroia/basis-data-export).

Much of the documentation on how to use the library comes in the form of PHPDoc comments and through the demo app. To test out pulling data with the demo app, subsitute your My Basis ID for the '1' that can be found on line 10. From there, you can dump out the $parsedData variable or use it for other data processing. This should give a loose idea as to how the library works and how to use it.

Instructions
------------

[](#instructions)

### Finding Your Basis User ID

[](#finding-your-basis-user-id)

- Log into your Basis account at [http://www.mybasis.com](http://gist.github.com).
- Right-click and access your web browser's developer tools by selecting "Inspect Element" (on Chrome - you can also access this by going to the "View-&gt;Developer-&gt;Developer Tools" menu):

[![basis export step 1](https://camo.githubusercontent.com/432db5363658588743c82b27fbdfec2aa19edd14ee7d1557a728801e942103a3/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274312e706e67)](https://camo.githubusercontent.com/432db5363658588743c82b27fbdfec2aa19edd14ee7d1557a728801e942103a3/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274312e706e67)

- You should now see the Developer Tools pane:

[![basis export step 2](https://camo.githubusercontent.com/07a8dbf3058180554b7a935151160e1febd4b58c23232054728bf14de52c552c/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274322e706e67)](https://camo.githubusercontent.com/07a8dbf3058180554b7a935151160e1febd4b58c23232054728bf14de52c552c/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274322e706e67)

- Go to the "Data" menu and select "Details":

[![basis export step 3](https://camo.githubusercontent.com/423a9ba23b9f72a374260397164afcdbdf171adbc72c3fc380b77012a5f5e449/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274332e706e67)](https://camo.githubusercontent.com/423a9ba23b9f72a374260397164afcdbdf171adbc72c3fc380b77012a5f5e449/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274332e706e67)

- Click on the "Network" tab in the Developer Tools frame and reload the page:

[![basis export step 4](https://camo.githubusercontent.com/1a49f980f113b3f751fbb41ff8a31fa8b8401abb69a3dcc1841f090075241a42/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274342e706e67)](https://camo.githubusercontent.com/1a49f980f113b3f751fbb41ff8a31fa8b8401abb69a3dcc1841f090075241a42/687474703a2f2f7777772e7175616e746966696564626f622e636f6d2f323031332f62617369732d73637265656e73686f74732f6578706f7274342e706e67)

Scroll down the list of network requests and look for a request that beings with: "..."

The letters after "...chart/" and preceding ".json?..." are your Basis user id! Note this string.

Data Values
-----------

[](#data-values)

Basis currently returns the following data points. They will represent an average (for heart rate) or sum (steps) over the previous 1-minute period:

- Time - time reading was taken
- Heart Rate - beats per minute
- Steps - number of steps taken
- Calories - number of calories burned
- GSR - Galvanic skin response (i.e., sweat/skin conductivity. Learn more about GSR here - [http://en.wikipedia.org/wiki/Skin\_conductance](http://en.wikipedia.org/wiki/Skin_conductance)
- Skin Temperature - skin temperature (degrees F)
- Air Temperature - air temperatute (degrees F)

There are some other aggregate metrics included in the reponse such as min/max/average/standard deviation metrics for each set of data.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4580d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b576e32621738cf08d185e353af3ced33f3e26fbb9d4edc3a48da8dde7f8ad26?d=identicon)[troussos](/maintainers/troussos)

---

Top Contributors

[![troussos](https://avatars.githubusercontent.com/u/1744354?v=4)](https://github.com/troussos "troussos (50 commits)")

---

Tags

exportbasismybasis

### Embed Badge

![Health badge](/badges/troussos-basis-data-export/health.svg)

```
[![Health](https://phpackages.com/badges/troussos-basis-data-export/health.svg)](https://phpackages.com/packages/troussos-basis-data-export)
```

###  Alternatives

[symfony/var-exporter

Provides tools to export, instantiate, hydrate, clone and lazy-load PHP objects

2.1k378.1M441](/packages/symfony-var-exporter)[riimu/kit-phpencoder

Highly customizable alternative to var\_export for PHP code generation

717.8M32](/packages/riimu-kit-phpencoder)[ichhabrecht/mask-export

Export your mask elements as extension

45215.8k](/packages/ichhabrecht-mask-export)[terminal42/contao-leads

Leads extension for Contao Open Source CMS; Store and manage form data with ease!

41167.9k10](/packages/terminal42-contao-leads)[jsvrcek/ics-bundle

This bundle provides a dependency injection wrapper for the JsvrcekICS iCal library

11150.6k](/packages/jsvrcek-ics-bundle)[akeneo-labs/pim-enhanced-connector

Provides PIM product reader with more option (choice on completeness, choice on enabled, delta based on last export time)

2135.6k](/packages/akeneo-labs-pim-enhanced-connector)

PHPackages © 2026

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