jobbler / cdn_reports Goto Github PK
View Code? Open in Web Editor NEWThese scripts allow the user to query the Red Hat Hosted (CDN) network about their subscriptions and usage.
License: GNU General Public License v3.0
These scripts allow the user to query the Red Hat Hosted (CDN) network about their subscriptions and usage.
License: GNU General Public License v3.0
I keep running out of subscriptions with my cdn account. Here's what I'm seeing when I try to query the cdn API:
$ ./cdn_report.py --poolusage --user <username> --password <password>- --ownerid <ownerid>
Getting list of pools from CDN.
Getting list of hosts from CDN.
Traceback (most recent call last):
File "./cdn_report.py", line 234, in <module>
secs_create = datetime.strptime(ckey["created"], "%Y-%m-%dT%H:%M:%S.000+0000").strftime("%s")
File "/usr/lib64/python3.6/_strptime.py", line 565, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/usr/lib64/python3.6/_strptime.py", line 362, in _strptime
(data_string, format))
ValueError: time data '2015-04-29t17:43:19+0000' does not match format '%Y-%m-%dT%H:%M:%S.000+0000'
Here's what I have installed:
$ rpm -q python3-natsort python3
python3-natsort-5.0.3-1.fc26.noarch
python3-3.6.4-2.fc26.x86_64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.