Jump to content




net - a Simple Version of the HTTP API


8 replies to this topic

#1 houseofkraft

  • Members
  • 170 posts
  • LocationUSA

Posted 01 September 2016 - 12:05 AM

net - A Simple Version of the HTTP API

Ever think the HTTP API is so hard to use? So much commands to type, so much things to do. I thought of that and made a simple API called net. Net will download files using the HTTP API. For you it is like an easy version of the HTTP API.

This can be used to download raw files

Download

Loading the API

Usage

Example

Everyone is allowed to use my API. Credit would be appreciated but it completely optional.

Thank You!

Edited by houseofkraft, 11 September 2016 - 08:25 PM.


#2 Boom

  • Members
  • 39 posts

Posted 01 September 2016 - 12:32 AM

Nice API :)

#3 houseofkraft

  • Members
  • 170 posts
  • LocationUSA

Posted 01 September 2016 - 12:34 AM

Thank You!

#4 Anavrins

  • Members
  • 775 posts

Posted 01 September 2016 - 02:41 AM

And how do you get the content of a page if this only returns true or false?

#5 houseofkraft

  • Members
  • 170 posts
  • LocationUSA

Posted 01 September 2016 - 11:48 AM

It saves it to a file

So say if i wanted to download google.com so i will load the API and then type:

net.download("https://www.google.com", "/google")

it would return true and save the file to google in the / directory

#6 Anavrins

  • Members
  • 775 posts

Posted 01 September 2016 - 02:27 PM

...... You're right, I must've been really tired when I posted that :P

#7 rahph

  • Members
  • 81 posts

Posted 01 September 2016 - 02:45 PM

Can I put the function from this API as en embed into my program?
I am writing a simple program manager to use with custom servers

#8 houseofkraft

  • Members
  • 170 posts
  • LocationUSA

Posted 01 September 2016 - 10:49 PM

Sure. You can use my API in your program

#9 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 02 September 2016 - 11:59 AM

Im making a moreclean useful version of dis :^)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users