Latest Comments

13 Total
a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 1 year and 2 months ago
Are result such as this any use?

http://fp.local/--/api/1/search/package?...
{
"status": 200,
"data": "[{\"category\":\"sysutils\",\"name\":\"bacula-server\"}]"
}

http://fp.local/--/api/1/search/package?...
{
"status": 200,
"data": null
}
a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 1 year and 2 months ago
I'll be working on the api during a flight tomorrow.

I will implement this first:

/--/api/search/package?name=foo will return packages named foo (should be only one)

/--/api/search/port?name=foo will return list of ports named foo regardless of category


a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 2 years and 2 months ago
Can anyone recommend a PHP-based library I can start with? I'd rather not build a library for parsing API requests.
a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 2 years and 2 months ago
FreshPorts now uses a rewrite for most of the website. This is the change which will ease the creation of the API. I'm working on one other issue before playing with an API.
a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 2 years and 3 months ago
A few weeks ago, the source code for the website was released to GitHub: https://github.com/FreshPorts/freshports

A new issue was raised which reminded me of this API work: https://github.com/FreshPorts/freshports...

I have created an issue which mirrors this Instant Answer Idea: https://github.com/FreshPorts/freshports...


a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 3 years and 6 months ago
This isn't dead. It's a matter of timing.
a reply to a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 3 years and 10 months ago
Where does that perl script live?

As for the API, I'm still preoccupied with conference prep... getting the service host up might have been the easy part. :/
a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 3 years and 10 months ago
Julian: how does this integrate with DuckDuckGo?
a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 3 years and 10 months ago
Suggestions based on conversation with Tom Judge via Twitter.

what about:
/api/1/search/ports/name=git
/api/1/repo/ports/cat/port/
/api/1/repo/branches/cat/port
/api/1/repo/src

/api/1/repo/branch/name/cat/port
/api/1/repo/head/cat/port

and:

you could collapse branch/name and head into /head|<branch_name>/
a comment on the Instant Answer Idea Grab BSD port summary from FreshPorts 3 years and 10 months ago
Welcome to the FreshPorts API server. It has no content yet, but that will come.

https://api.freshports.org/
http://api.freshports.org/

I think I will prefer https connections...

I'm also considering authentication of some type, to deter abuse.
« 1 2 »