Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
=== 0.3.X (onggoing, to be released as 0.4) ===
=== 0.4.0 ===

* Uses new application name & URL (nokotime.com)

=== 0.3.X ===

Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
A super simple Freckle API client implementation.
A super simple Freckle/Noko API client implementation.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Freckle Client
==============

A super simple Freckle API client implementation.
A super simple Freckle/Noko API client implementation.

Installation
------------
Expand Down
2 changes: 1 addition & 1 deletion freckle_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = '0.3.2' # pragma: no cover
__version__ = '0.4.0' # pragma: no cover
8 changes: 4 additions & 4 deletions freckle_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, account_name, api_token):
def fetch_json(self, uri_path, http_method='GET', headers=None,
query_params=None, post_args=None):
"""
Fetch some JSON from Letsfreckle.
Fetch some JSON from Noko.

For example, fetch some entries like so:

Expand Down Expand Up @@ -57,7 +57,7 @@ def fetch_json(self, uri_path, http_method='GET', headers=None,
query_params['token'] = self.api_token

# construct the full URL without query parameters
url = 'https://{0}.letsfreckle.com/api/{1}.json'.format(
url = 'https://{0}.nokotime.com/api/{1}.json'.format(
self.account_name, uri_path)

# perform the HTTP requests, if possible uses OAuth authentication
Expand Down Expand Up @@ -87,7 +87,7 @@ def __init__(self, access_token):
def fetch_json(self, uri_path, http_method='GET', headers=None,
query_params=None, post_args=None):
"""
Fetch some JSON from Letsfreckle.
Fetch some JSON from Noko.

For example, fetch some entries like so:

Expand Down Expand Up @@ -116,7 +116,7 @@ def fetch_json(self, uri_path, http_method='GET', headers=None,
headers['X-FreckleToken'] = self.access_token

# construct the full URL without query parameters
url = 'https://api.letsfreckle.com/v2/{0}'.format(uri_path)
url = 'https://api.nokotime.com/v2/{0}'.format(uri_path)

# perform the HTTP requests, if possible uses OAuth authentication
response = requests.request(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def read(fname):
long_description=read('README.rst'),
license='The MIT License',
platforms=['OS Independent'],
keywords='letsfreckle, freckle, api, client',
keywords='nokotime, noko, api, client',
author='Martin Brochhaus',
author_email='mbrochh@gmail.com',
url="https://github.com/bitmazk/freckle-client",
Expand Down