Skip to main content

Python Scraper for StudentVue Portals

Project description

StudentVue API

travis PyPI version

This repository provides a easy way to access data from StudentVue portals in Python programs.

Logging In

pip install studentvue or clone / download the repository and python setup.py install.

from studentvue import StudentVue
sv = StudentVue('username', 'password', 'domain name') 

Methods

>>> classes = sv.getClasses()
>>> classes
[
    'Period 2 CCSS Algebra 2A Taught by XXX XXX in Room XXX with a Grade of XX.X%',
    'Period 3 Chemistry A H Taught by XXX XXX in Room XXX with a Grade of XX.X%',
    ...
    'Period 7 AP Euro Hist A Taught by XXX XXX in Room XXX with a Grade of XX.X%',
    'Period 8 PE 2A Taught by XXX XXX in Room XXX with a Grade of XX.X%'
]

# classes and teachers are both objects

>>> classes[0].room
XXX

>>> classes[0].teacher.email
XXX@XXX.XXX
>>> sv.getStudentInfo()
{
    'Student Name': 'XXXXX',
    'Student No': 'XXXXXX',
    'Gender': 'Male',
    'Grade': '10'
}
>>> sv.getSchoolInfo()
# Principal, if supplied, will also be converted to a Teacher object
{
    'Principal': Andrew Ishibashi,
    'School Name': 'Lowell HS',
    'Address': '1101 Eucalyptus DrSan Francisco, CA 94132',
    'Phone': '415-759-2730',
    'Fax': '415-759-2742',
    'Website URL': 'https://lhs-sfusd-ca.schoolloop.com/'
}

Bugs and Contributing

The content and formatting of pages may vary from district to district, so the same parsing strategies might fail. If you find an instance of this, or have a general improvement you can raise a new issue and/or open a pull request.

TODO

  • Finish Scraper

  • Write tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

studentvue-1.2.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

studentvue-1.2.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file studentvue-1.2.1.tar.gz.

File metadata

  • Download URL: studentvue-1.2.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4

File hashes

Hashes for studentvue-1.2.1.tar.gz
Algorithm Hash digest
SHA256 062eb0d2f553b8d7a80fd39eed2bac21f6c4610de3466e789495b3b3001b72e2
MD5 f90ae899515b3abf5c8e5c93e0305a66
BLAKE2b-256 aad2fc7c29f8b3fe7b0f4ce641c879bd7bc1405c7a884c62bdacebf5ddabd74c

See more details on using hashes here.

File details

Details for the file studentvue-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: studentvue-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4

File hashes

Hashes for studentvue-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19a8478c67aab733421717c326055a9528d09bee87913a722175bb4d96eed8d1
MD5 28f8a2d813084a3a2e12bb4ae181b01b
BLAKE2b-256 b9e74eab7f0214b0844e777985043c6403d91ef8f43b0e8dca8b6f2cd4fae717

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page