pip install scielo_accessstatsapi==1.1.0

Library that implements the endpoints of the Access Stats API

Source