Jump to content




EnderAPI - An API For the People, By the People

api

65 replies to this topic

#21 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 16 March 2014 - 08:09 PM

Version 4.0.0 released! This is an update in which you must delete the EnderAPI directory, sorry. Hopefully this won't happen as often after this update.

Changes:
+ Created an installation file to download the EnderAPI launcher. You can find it here or in the main post under Installation.
+ Added two new APIs, term and string. Their documentation will be released later
* Merged the colors and colours API into one file
* Minor bug fixes

#22 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 16 March 2014 - 09:38 PM

Version 4.0.1 released!

Changes:
* Small bug fix regarding the term.getPixelData function from the term API

Edit: I think that's enough updating for today :P

Edited by SuicidalSTDz, 16 March 2014 - 09:39 PM.


#23 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 17 March 2014 - 12:39 AM

Since I'm planning to not participate with this for the full 100%, I decided to make a pull request under the github account 'EngineerCoding'

My view of it was that every api could be downloaded individually, thus I added a better assert in every API. I would say that you must feel free to remove it from a few API's, though not all of them because the native assert is not the best one :P
I also cleaned up some code here and there to make it look better or just some better behaviour.
And last but not least I created a new function in the pastebin API called updateFile. This functions compares the pastebin content with the file's content and if they differ the file gets updated.

Here is a link to the PR: https://github.com/S...EnderAPI/pull/2

Is it good enough for a merge?

#24 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 17 March 2014 - 01:12 AM

View PostEngineer, on 17 March 2014 - 12:39 AM, said:

Since I'm planning to not participate with this for the full 100%, I decided to make a pull request under the github account 'EngineerCoding'

My view of it was that every api could be downloaded individually, thus I added a better assert in every API. I would say that you must feel free to remove it from a few API's, though not all of them because the native assert is not the best one :P
I also cleaned up some code here and there to make it look better or just some better behaviour.
And last but not least I created a new function in the pastebin API called updateFile. This functions compares the pastebin content with the file's content and if they differ the file gets updated.

Here is a link to the PR: https://github.com/S...EnderAPI/pull/2

Is it good enough for a merge?
I like it. However, Github won't let me merge them automatically, so I will have to manually merge them. I will probably merge and update sometime in the afternoon (EST) tomorrow. Thanks for the contribution!

#25 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 18 March 2014 - 10:10 PM

Version 4.1.1 released!

Changes:
+ Added new apis that will soon be documented on http://vm-0.suicidalstdz.kd.io/
- Removed the configuration file
* Various improvements/aesthetics/bug fixes

#26 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 19 March 2014 - 12:04 AM

View PostSuicidalSTDz, on 18 March 2014 - 10:10 PM, said:

+ Added new apis that will soon be documented on http://vm-0.suicidalstdz.kd.io/
Koding has changed, the websites are no longer permanently live they're only live for 15 minutes before being taken down, I suggest using GitHub pages (setup instructions) to do it over using Koding.

#27 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 19 March 2014 - 12:20 AM

View Posttheoriginalbit, on 19 March 2014 - 12:04 AM, said:

Koding has changed, the websites are no longer permanently live they're only live for 15 minutes before being taken down, I suggest using GitHub pages (setup instructions) to do it over using Koding.
Yeah.. I forgot about that <_<. Thanks for the info, though.

Edit: May go with in-game documentation. Don't know yet.

Edited by SuicidalSTDz, 19 March 2014 - 12:22 AM.


#28 apemanzilla

  • Members
  • 1,421 posts

Posted 19 March 2014 - 05:37 AM

OP is in need of an update again :P We might be better off moving documentation and stuff the the GitHub repo.

#29 skwerlman

  • Members
  • 163 posts
  • LocationPennsylvania

Posted 19 March 2014 - 05:48 AM

View PostApemanzilla, on 19 March 2014 - 05:37 AM, said:

OP is in need of an update again :P We might be better off moving documentation and stuff the the GitHub repo.
It's a shame we can't just keep it there, and iFrame it here...

#30 apemanzilla

  • Members
  • 1,421 posts

Posted 19 March 2014 - 05:50 AM

View Postskwerlman, on 19 March 2014 - 05:48 AM, said:

View PostApemanzilla, on 19 March 2014 - 05:37 AM, said:

OP is in need of an update again :P> We might be better off moving documentation and stuff the the GitHub repo.
It's a shame we can't just keep it there, and iFrame it here...
I think staff can use HTML in their posts :P

#31 skwerlman

  • Members
  • 163 posts
  • LocationPennsylvania

Posted 19 March 2014 - 07:25 AM

View PostApemanzilla, on 19 March 2014 - 05:50 AM, said:

View Postskwerlman, on 19 March 2014 - 05:48 AM, said:

View PostApemanzilla, on 19 March 2014 - 05:37 AM, said:

OP is in need of an update again :P> We might be better off moving documentation and stuff the the GitHub repo.
It's a shame we can't just keep it there, and iFrame it here...
I think staff can use HTML in their posts :P
We need to recruit a staff member then, lol :lol:

#32 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 19 March 2014 - 11:28 AM

I have made up my mind. Documentation will be in-game and possibly Github (one place is hard enough to keep updated)

#33 apemanzilla

  • Members
  • 1,421 posts

Posted 19 March 2014 - 11:32 AM

View PostSuicidalSTDz, on 19 March 2014 - 11:28 AM, said:

I have made up my mind. Documentation will be in-game and possibly Github (one place is hard enough to keep updated)
How about in game and loads from GitHub? :P

#34 skwerlman

  • Members
  • 163 posts
  • LocationPennsylvania

Posted 19 March 2014 - 11:34 AM

View PostApemanzilla, on 19 March 2014 - 11:32 AM, said:

View PostSuicidalSTDz, on 19 March 2014 - 11:28 AM, said:

I have made up my mind. Documentation will be in-game and possibly Github (one place is hard enough to keep updated)
How about in game and loads from GitHub? :P
Well, if it were on GitHub, it would be a simple matter to include the files in the launcher.

#35 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 19 March 2014 - 11:34 AM

Funny, was just thinking about it after I posted :P

#36 apemanzilla

  • Members
  • 1,421 posts

Posted 19 March 2014 - 11:42 AM

View Postskwerlman, on 19 March 2014 - 11:34 AM, said:

View PostApemanzilla, on 19 March 2014 - 11:32 AM, said:

View PostSuicidalSTDz, on 19 March 2014 - 11:28 AM, said:

I have made up my mind. Documentation will be in-game and possibly Github (one place is hard enough to keep updated)
How about in game and loads from GitHub? :P
Well, if it were on GitHub, it would be a simple matter to include the files in the launcher.
The real fun comes when we write a javascript utility to pretty up the documentation for the GitHub pages, and a lua one for the computers :D

#37 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 19 March 2014 - 01:16 PM

In-game documentation will most likely follow the native help file format or may have a have a help function in each API.

#38 apemanzilla

  • Members
  • 1,421 posts

Posted 19 March 2014 - 03:13 PM

View PostSuicidalSTDz, on 19 March 2014 - 01:16 PM, said:

In-game documentation will most likely follow the native help file format or may have a have a help function in each API.
I feel like we should pack a JSON file for each API, documenting each method, which can be parsed by a new help program and a webpage for online viewing.

#39 SuicidalSTDz

    Permutator of Strings

  • Members
  • 1,308 posts
  • LocationPennsylvania

Posted 19 March 2014 - 03:51 PM

That sounds good to me

#40 apemanzilla

  • Members
  • 1,421 posts

Posted 19 March 2014 - 04:21 PM

View PostSuicidalSTDz, on 19 March 2014 - 03:51 PM, said:

That sounds good to me
I'll start work on it later. If you want I can also do the web part, just set up a project page for the repo and add me.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users