Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

fix: update base urls #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions TogglAPI.NetStandard/Routes/ApiRoutes.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand All @@ -7,10 +7,10 @@ namespace Toggl
{
public static class ApiRoutes
{
private const string TogglBaseUrl = "https://www.toggl.com/api/v8";
private const string TogglReportUrl = "https://toggl.com/reports/api/v2";
private const string TogglBaseUrl = "https://api.track.toggl.com/api/v8";
private const string TogglReportUrl = "https://api.track.toggl.com/reports/api/v2";

public static class Reports
public static class Reports
{
public static readonly string Detailed = TogglReportUrl + "/details";
public static readonly string Weekly = TogglReportUrl + "/weekly";
Expand Down Expand Up @@ -57,7 +57,7 @@ public static class TimeEntry

public static class Project
{
public readonly static string ProjectsBulkDeleteUrl = TogglBaseUrl + "/projects/{0}";
public readonly static string ProjectsBulkDeleteUrl = TogglBaseUrl + "/projects/{0}";
public readonly static string ProjectsUrl = TogglBaseUrl + "/projects";
public readonly static string DetailUrl = TogglBaseUrl + "/projects/{0}";
public readonly static string UsersUrl = TogglBaseUrl + "/projects/{0}/project_users";
Expand Down