Scrapers for pages on the eBird web site
Project description
[![Build Status](https://travis-ci.org/ProjectBabbler/ebird-pages.svg?branch=master)](https://travis-ci.org/ProjectBabbler/ebird-pages)
[![PyPI version](https://badge.fury.io/py/ebird-pages.svg)](https://badge.fury.io/py/ebird-pages)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/ebird-pages.svg)](https://img.shields.io/pypi/pyversions/ebird-pages)
# eBird Pages
Although eBird has an API, not all the information from the database is
available. The API, for example, does not return links to any uploaded
photos; comments on an individual observation are also missing. eBird
Pages is a set of scrapers for extracting data from various pages on
the eBird web site. It complements the API, giving access to all the
data that eBird makes publicly available.
## Install
```sh
pip install ebird-pages
```
## Usage
Scraping the data from a page is as simple as a function call. For example
to get all the data from a checklist use get_checklist() and pass in the unique
identifier generated when the checklist was submitted to the eBird database:
```python
from ebird.pages import get_checklist
data = get_checklist('S38429565')
```
The function returns a dict with keys for the location, date, observers, etc.
### Command line
Each of the functions has a corresponding script that can be used on the
command-line:
```sh
$ get-checklist --id S38429565 --out checklist.json
```
The script allows data for one or more checklists to be downloaded and written
to a file in JSON format.
## Compatibility
ebird-pages works with Python 3.3+.
## Dependencies
eBird Pages makes use of the following packages: Requests, BeautifulSoup4, lxml and Click.
See requirements.txt for the version numbers of each of the libraries.
## License
eBird Pages is available under the terms of the [MIT](https://opensource.org/licenses/MIT) license.
[![PyPI version](https://badge.fury.io/py/ebird-pages.svg)](https://badge.fury.io/py/ebird-pages)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/ebird-pages.svg)](https://img.shields.io/pypi/pyversions/ebird-pages)
# eBird Pages
Although eBird has an API, not all the information from the database is
available. The API, for example, does not return links to any uploaded
photos; comments on an individual observation are also missing. eBird
Pages is a set of scrapers for extracting data from various pages on
the eBird web site. It complements the API, giving access to all the
data that eBird makes publicly available.
## Install
```sh
pip install ebird-pages
```
## Usage
Scraping the data from a page is as simple as a function call. For example
to get all the data from a checklist use get_checklist() and pass in the unique
identifier generated when the checklist was submitted to the eBird database:
```python
from ebird.pages import get_checklist
data = get_checklist('S38429565')
```
The function returns a dict with keys for the location, date, observers, etc.
### Command line
Each of the functions has a corresponding script that can be used on the
command-line:
```sh
$ get-checklist --id S38429565 --out checklist.json
```
The script allows data for one or more checklists to be downloaded and written
to a file in JSON format.
## Compatibility
ebird-pages works with Python 3.3+.
## Dependencies
eBird Pages makes use of the following packages: Requests, BeautifulSoup4, lxml and Click.
See requirements.txt for the version numbers of each of the libraries.
## License
eBird Pages is available under the terms of the [MIT](https://opensource.org/licenses/MIT) license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ebird-pages-0.1.tar.gz
(16.1 kB
view details)
Built Distributions
File details
Details for the file ebird-pages-0.1.tar.gz
.
File metadata
- Download URL: ebird-pages-0.1.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4518ba7db0fea3943e01dad95d844be82d6148c3a6fb00badefb45f846532031 |
|
MD5 | 5bb568e8ed5550ef8e2ec8f2204f0793 |
|
BLAKE2b-256 | 92c921358fc94ca595d4e073b8ed08273160eaf74a8a1a2cf598f00510a75694 |
File details
Details for the file ebird_pages-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: ebird_pages-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.25
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ae0d152608e2f6977e5a298da386b8abb4b125b50c045deb7afb95c9a44aadd |
|
MD5 | 130216522ffcadb88b684d03d198b2f6 |
|
BLAKE2b-256 | ddbe6b406f173805fa6ea423bc63602a7574530c7130763d2cd045ff3b56cca9 |
File details
Details for the file ebird_pages-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ebird_pages-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4fb9221fbdadecccba4318c101fb6d6a1ba7c262ca7dfd709fbad54e0dadac6 |
|
MD5 | 2095eb3155d3f6961e4bafef42d0f623 |
|
BLAKE2b-256 | f0e7cdc1f531be5da51bf02d6b407d235dffb84c99dc552e6c9de8d909cfc5ee |