Provider Statistics added.

Rates command added with a test.

Updated to include added migration.
This commit is contained in:
Nicholas Staples
2016-04-21 11:37:38 +01:00
parent a38e4f4965
commit 3b1423a2ea
15 changed files with 393 additions and 123 deletions

View File

@@ -0,0 +1,5 @@
from app.models import ProviderStatistics
def get_provider_statistics(service, provider):
return ProviderStatistics.query.filter_by(service=service, provider=provider).one()