Missing (?) APIs

I’m trying to find API methods to get the following information, but I
think they may be missing?

  • Upcoming tax events (data shown in Tax Timeline on the website)
  • Tax due to date (VAT, Corporation Tax, etc)
  • Data shown in the Profit And Loss panel on the website (Total Income,
    Total Expenses, Operating Profit, Corp Tax, Total Dividends, etc)
  • Bank balances for the start of each month, such as the data used in the
    banking graphs on the website.
  • Total Income, Expenditure by month

I could probably work out some (all?) of the above myself, but to do so I’d
have to download a lot of data, so that doesn’t seem to be a sensible way
to do it…

Is there any official way to request such API methods, or is it just a case
of raising it here?

Thanks

Thanks for the link to the Tax Timeline, I was looking at the high level
and didn’t think to look under Company!

Wrt 3G, that’s the same problem that I have. I’m working on a FreeAgent app
for Windows Phone which is coming along quite nicely, but I made a
conscious decision to only cache data temporarily to avoid issues with
potentially sensitive information being stored on the device, and it’s not
realistic to download that much data at the start of each session,
especially when the information actually required is quite concise, so if a
suitable endpoint was provided it would only be a tiny request!

I very much get the impression that the API is an afterthought after the
web site, rather than being something that is “dogfooded” by the website
using it which is a great shame!On Monday, 7 April 2014 00:12:08 UTC+1, Nic Wise wrote:

I’m trying to find API methods to get the following information, but I
think
they may be missing?

  • Upcoming tax events (data shown in Tax Timeline on the website)

https://api.freeagent.com/v2/company/tax_timeline

  • Tax due to date (VAT, Corporation Tax, etc)

Same, I think. The amount is a field. Hard to tell if you have PAID it
tho (I tend to pay tax early).

  • Data shown in the Profit And Loss panel on the website (Total Income,
    Total Expenses, Operating Profit, Corp Tax, Total Dividends, etc)

Not available. Has been requested by many people, including me, for a
long long time.

  • Bank balances for the start of each month, such as the data used in
    the
    banking graphs on the website.

nope - I pull 3 months worth of data back to get this…

  • Total Income, Expenditure by month

Ditto. You’d need to keep track of it yourself. You can do back quite
a way in time using the paging tho, for initial setup.

I could probably work out some (all?) of the above myself, but to do so
I’d
have to download a lot of data, so that doesn’t seem to be a sensible
way
to do it…

My problem exactly, given that I’m dealing with a 3G (or less)
connection most of the time.

Is there any official way to request such API methods, or is it just a
case
of raising it here?

I think this is the official way. If not, I’d like to know what is :slight_smile:


Nic Wise
t. +64 21 676 418 <#> | @fastchicken
b. http://www.fastchicken.co.nz/

Just had a quick look at your website Nic and saw that you’ve written an
app that shows your nearest bus in London using the TfL data. Funnily
enough, I’ve just finished working on the API side of things for the new
TfL website - that was “dogfooded” with the website only able to access
data through the API to ensure that the data returned is useful and
consistent, and that there are no missing API methods :slight_smile: Should mean that
the new API is much easier to use than all the disparate services at
different URLs to get different types of data :)On Monday, 7 April 2014 13:40:45 UTC+1, Richard Pope wrote:

Thanks for the link to the Tax Timeline, I was looking at the high level
and didn’t think to look under Company!

Wrt 3G, that’s the same problem that I have. I’m working on a FreeAgent
app for Windows Phone which is coming along quite nicely, but I made a
conscious decision to only cache data temporarily to avoid issues with
potentially sensitive information being stored on the device, and it’s not
realistic to download that much data at the start of each session,
especially when the information actually required is quite concise, so if a
suitable endpoint was provided it would only be a tiny request!

I very much get the impression that the API is an afterthought after the
web site, rather than being something that is “dogfooded” by the website
using it which is a great shame!

On Monday, 7 April 2014 00:12:08 UTC+1, Nic Wise wrote:

I’m trying to find API methods to get the following information, but I
think
they may be missing?

  • Upcoming tax events (data shown in Tax Timeline on the website)

https://api.freeagent.com/v2/company/tax_timeline

  • Tax due to date (VAT, Corporation Tax, etc)

Same, I think. The amount is a field. Hard to tell if you have PAID it
tho (I tend to pay tax early).

  • Data shown in the Profit And Loss panel on the website (Total Income,
    Total Expenses, Operating Profit, Corp Tax, Total Dividends, etc)

Not available. Has been requested by many people, including me, for a
long long time.

  • Bank balances for the start of each month, such as the data used in
    the
    banking graphs on the website.

nope - I pull 3 months worth of data back to get this…

  • Total Income, Expenditure by month

Ditto. You’d need to keep track of it yourself. You can do back quite
a way in time using the paging tho, for initial setup.

I could probably work out some (all?) of the above myself, but to do so
I’d
have to download a lot of data, so that doesn’t seem to be a sensible
way
to do it…

My problem exactly, given that I’m dealing with a 3G (or less)
connection most of the time.

Is there any official way to request such API methods, or is it just a
case
of raising it here?

I think this is the official way. If not, I’d like to know what is :slight_smile:


Nic Wise
t. +64 21 676 418 <#><#407e7e61-86da-4e8e-a280-78ab83c4b67a@googlegroups.com_>| @fastchicken
b. http://www.fastchicken.co.nz/

I’ve only just discovered FreeAgent so I’ve come straight in to v2 :slight_smile:

The URL for the new API is http://api.tfl.gov.uk/ - you’ll need to sign up
for an app ID and key to be able to access it, but that’s quick and easy
enough. The API is fully self documenting and this documentation also has
automatically generated test harnesses for each method so that you can see
exactly what is returned for your chosen parameter values, just add your
app ID and key to the top of the documentation page. It’s worth checking
out the new web site too!

Thanks, I’ll definitely check out your code for the API next time I try to
add a feature and can’t work out the API side of things!On Monday, 7 April 2014 22:28:28 UTC+1, Nic Wise wrote:

The old API was definitely an after thought - this one isn’t too bad by
comparison, but there are some fairly big holes. I never worked out if it’s
just “unloved” (well, the dev’s are maybe not focused on it) or if some of
the missing info means that an app like mine competes with the mobile web
interface more - esp the summary P&L data. It’s right there on the
homepage, so I can’t see how exposing it in /v2/companies/profit-and-loss
would be that hard. That said, it is a large-scale web app, so “not that
hard” is always relative!

Which TFL api do you mean? I’ve only really used the bike and bus
prediction ones. The bus one wasn’t ideal for what I wanted to do, but it
was good enough and works well. Is there a public URL for info on the new
API?

I have the code for my freeagent api (in C#) up on github, too, if you
want to use it. It should work fine on windows phone, tho it’s not async at
all. Easy enough to wrap in tasks. I need to add a few bits tho - a few
things have changed, I’ve found, eg around invoices now having due_value
and paid_value. Feel free to do a PR if you want to add stuff.

On Tue, Apr 8, 2014 at 12:46 AM, Richard Pope <richar...@gmail.com<javascript:> wrote:

Just had a quick look at your website Nic and saw that you’ve written an
app that shows your nearest bus in London using the TfL data. Funnily
enough, I’ve just finished working on the API side of things for the new
TfL website - that was “dogfooded” with the website only able to access
data through the API to ensure that the data returned is useful and
consistent, and that there are no missing API methods :slight_smile: Should mean that
the new API is much easier to use than all the disparate services at
different URLs to get different types of data :slight_smile:

On Monday, 7 April 2014 13:40:45 UTC+1, Richard Pope wrote:

Thanks for the link to the Tax Timeline, I was looking at the high level
and didn’t think to look under Company!

Wrt 3G, that’s the same problem that I have. I’m working on a FreeAgent
app for Windows Phone which is coming along quite nicely, but I made a
conscious decision to only cache data temporarily to avoid issues with
potentially sensitive information being stored on the device, and it’s not
realistic to download that much data at the start of each session,
especially when the information actually required is quite concise, so if a
suitable endpoint was provided it would only be a tiny request!

I very much get the impression that the API is an afterthought after the
web site, rather than being something that is “dogfooded” by the website
using it which is a great shame!

On Monday, 7 April 2014 00:12:08 UTC+1, Nic Wise wrote:

I’m trying to find API methods to get the following information, but
I think
they may be missing?

  • Upcoming tax events (data shown in Tax Timeline on the website)

https://api.freeagent.com/v2/company/tax_timeline

  • Tax due to date (VAT, Corporation Tax, etc)

Same, I think. The amount is a field. Hard to tell if you have PAID it
tho (I tend to pay tax early).

  • Data shown in the Profit And Loss panel on the website (Total
    Income,
    Total Expenses, Operating Profit, Corp Tax, Total Dividends, etc)

Not available. Has been requested by many people, including me, for a
long long time.

  • Bank balances for the start of each month, such as the data used in
    the
    banking graphs on the website.

nope - I pull 3 months worth of data back to get this…

  • Total Income, Expenditure by month

Ditto. You’d need to keep track of it yourself. You can do back quite
a way in time using the paging tho, for initial setup.

I could probably work out some (all?) of the above myself, but to do
so I’d
have to download a lot of data, so that doesn’t seem to be a
sensible way
to do it…

My problem exactly, given that I’m dealing with a 3G (or less)
connection most of the time.

Is there any official way to request such API methods, or is it just
a case
of raising it here?

I think this is the official way. If not, I’d like to know what is :slight_smile:


Nic Wise
t. +64 21 676 418<#CANfFwGQJC3U1RWfGq8q6hCjYULE744Z9yULU_Jo43hsTodXucg@mail.gmail.com_1453c398db9c2ea9_><#CANfFwGQJC3U1RWfGq8q6hCjYULE744Z9yULU_Jo43hsTodXucg@mail.gmail.com_1453c398db9c2ea9_407e7e61-86da-4e8e-a280-78ab83c4b67a@googlegroups.com_>| @fastchicken
b. http://www.fastchicken.co.nz/


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_ap...@googlegroups.com <javascript:>.
To post to this group, send email to freeag...@googlegroups.com<javascript:>
.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.


Nic Wise
t. +64 21 676 418 <#> | @fastchicken
b. http://www.fastchicken.co.nz/

The old API was definitely an after thought - this one isn’t too bad by
comparison, but there are some fairly big holes. I never worked out if it’s
just “unloved” (well, the dev’s are maybe not focused on it) or if some of
the missing info means that an app like mine competes with the mobile web
interface more - esp the summary P&L data. It’s right there on the
homepage, so I can’t see how exposing it in /v2/companies/profit-and-loss
would be that hard. That said, it is a large-scale web app, so “not that
hard” is always relative!

Which TFL api do you mean? I’ve only really used the bike and bus
prediction ones. The bus one wasn’t ideal for what I wanted to do, but it
was good enough and works well. Is there a public URL for info on the new
API?

I have the code for my freeagent api (in C#) up on github, too, if you want
to use it. It should work fine on windows phone, tho it’s not async at all.
Easy enough to wrap in tasks. I need to add a few bits tho - a few things
have changed, I’ve found, eg around invoices now having due_value and
paid_value. Feel free to do a PR if you want to add stuff.On Tue, Apr 8, 2014 at 12:46 AM, Richard Pope richard.pope@gmail.comwrote:

Just had a quick look at your website Nic and saw that you’ve written an
app that shows your nearest bus in London using the TfL data. Funnily
enough, I’ve just finished working on the API side of things for the new
TfL website - that was “dogfooded” with the website only able to access
data through the API to ensure that the data returned is useful and
consistent, and that there are no missing API methods :slight_smile: Should mean that
the new API is much easier to use than all the disparate services at
different URLs to get different types of data :slight_smile:

On Monday, 7 April 2014 13:40:45 UTC+1, Richard Pope wrote:

Thanks for the link to the Tax Timeline, I was looking at the high level
and didn’t think to look under Company!

Wrt 3G, that’s the same problem that I have. I’m working on a FreeAgent
app for Windows Phone which is coming along quite nicely, but I made a
conscious decision to only cache data temporarily to avoid issues with
potentially sensitive information being stored on the device, and it’s not
realistic to download that much data at the start of each session,
especially when the information actually required is quite concise, so if a
suitable endpoint was provided it would only be a tiny request!

I very much get the impression that the API is an afterthought after the
web site, rather than being something that is “dogfooded” by the website
using it which is a great shame!

On Monday, 7 April 2014 00:12:08 UTC+1, Nic Wise wrote:

I’m trying to find API methods to get the following information, but I
think
they may be missing?

  • Upcoming tax events (data shown in Tax Timeline on the website)

https://api.freeagent.com/v2/company/tax_timeline

  • Tax due to date (VAT, Corporation Tax, etc)

Same, I think. The amount is a field. Hard to tell if you have PAID it
tho (I tend to pay tax early).

  • Data shown in the Profit And Loss panel on the website (Total
    Income,
    Total Expenses, Operating Profit, Corp Tax, Total Dividends, etc)

Not available. Has been requested by many people, including me, for a
long long time.

  • Bank balances for the start of each month, such as the data used in
    the
    banking graphs on the website.

nope - I pull 3 months worth of data back to get this…

  • Total Income, Expenditure by month

Ditto. You’d need to keep track of it yourself. You can do back quite
a way in time using the paging tho, for initial setup.

I could probably work out some (all?) of the above myself, but to do
so I’d
have to download a lot of data, so that doesn’t seem to be a
sensible way
to do it…

My problem exactly, given that I’m dealing with a 3G (or less)
connection most of the time.

Is there any official way to request such API methods, or is it just a
case
of raising it here?

I think this is the official way. If not, I’d like to know what is :slight_smile:


Nic Wise
t. +64 21 676 418 <#1453c398db9c2ea9_><#1453c398db9c2ea9_407e7e61-86da-4e8e-a280-78ab83c4b67a@googlegroups.com_>| @fastchicken
b. http://www.fastchicken.co.nz/


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.

Nic Wise
t. +64 21 676 418 | @fastchicken
b. http://www.fastchicken.co.nz/

I’m trying to find API methods to get the following information, but I think
they may be missing?

  • Upcoming tax events (data shown in Tax Timeline on the website)

https://api.freeagent.com/v2/company/tax_timeline

  • Tax due to date (VAT, Corporation Tax, etc)

Same, I think. The amount is a field. Hard to tell if you have PAID it
tho (I tend to pay tax early).

  • Data shown in the Profit And Loss panel on the website (Total Income,
    Total Expenses, Operating Profit, Corp Tax, Total Dividends, etc)

Not available. Has been requested by many people, including me, for a
long long time.

  • Bank balances for the start of each month, such as the data used in the
    banking graphs on the website.

nope - I pull 3 months worth of data back to get this…

  • Total Income, Expenditure by month

Ditto. You’d need to keep track of it yourself. You can do back quite
a way in time using the paging tho, for initial setup.

I could probably work out some (all?) of the above myself, but to do so I’d
have to download a lot of data, so that doesn’t seem to be a sensible way
to do it…

My problem exactly, given that I’m dealing with a 3G (or less)
connection most of the time.

Is there any official way to request such API methods, or is it just a case
of raising it here?

I think this is the official way. If not, I’d like to know what is :slight_smile:

Nic Wise
t. +64 21 676 418 | @fastchicken
b. http://www.fastchicken.co.nz/