Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-data-api-client
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-analytics-data-api-client
Commits
ed404a42
Commit
ed404a42
authored
Sep 11, 2014
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Datetime format constant
parent
5b55bde1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
analyticsclient/client.py
+2
-1
setup.py
+1
-1
No files found.
analyticsclient/client.py
View file @
ed404a42
...
@@ -21,8 +21,9 @@ class Client(object):
...
@@ -21,8 +21,9 @@ class Client(object):
way to get access to those classes and their methods.
way to get access to those classes and their methods.
"""
"""
# Date
format
to be used when sending and parsing data from the API
# Date
/time formats
to be used when sending and parsing data from the API
DATE_FORMAT
=
'
%
Y-
%
m-
%
d'
DATE_FORMAT
=
'
%
Y-
%
m-
%
d'
DATETIME_FORMAT
=
DATE_FORMAT
+
'T
%
f'
def
__init__
(
self
,
base_url
,
auth_token
=
None
,
timeout
=
0.25
):
def
__init__
(
self
,
base_url
,
auth_token
=
None
,
timeout
=
0.25
):
"""
"""
...
...
setup.py
View file @
ed404a42
...
@@ -2,7 +2,7 @@ from distutils.core import setup
...
@@ -2,7 +2,7 @@ from distutils.core import setup
setup
(
setup
(
name
=
'edx-analytics-data-api-client'
,
name
=
'edx-analytics-data-api-client'
,
version
=
'0.2.
0
'
,
version
=
'0.2.
1
'
,
packages
=
[
'analyticsclient'
],
packages
=
[
'analyticsclient'
],
url
=
'https://github.com/edx/edx-analytics-data-api-client'
,
url
=
'https://github.com/edx/edx-analytics-data-api-client'
,
description
=
'Client used to access edX analytics data warehouse'
,
description
=
'Client used to access edX analytics data warehouse'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment