[ / / / / / / / / / / / / / ] [ r8k / ck / wooo / fit / random / fast / fit / join / magali / pyw / warroom / wmafsex / wtp ][Options][ watchlist ]

/hydrus/ - Hydrus Network

Bug reports, feature requests, and other discussion for the hydrus network.
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.

Name
Email
Subject
REC

0:00

Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Expand all images

This board will be deleted next Wednesday. I am moving to a General on 8chan.moe /t/. This board is archived at 8chan.moe /hydrus/!

File (hide): d7e685360192f2a⋯.png (20.52 KB,722x449,722:449,api-image-for-blog.png) (h) (u)

[–]

1dd852 (3) No.11626 >>11627 [Watch Thread][Show All Posts]

ITT: We propose new features that can be solved by using the API, and recommend new API commends for it

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1dd852 (3) No.11627

>>11626 (OP)

*commands

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3550c4 (2) No.11761

Here are some features that I can think of that are useful

1. Image tag and metadata "hash"

Image data hash, so if you were to download metadata from the same file twice, and the metadata has not changed, the hash would be the same, telling the user to not download it again and waste precious bandwidth.

2. IPFS H2H API

IPFS operational API, so that you can create folder or file hash of any search results, and be able to pin or unpin them at will. This will be useful in the long term when people use it for Hydrus-2-Hydrus (H2H) P2P file share.

3. De-duplication API

internal APIs for file de-duplication software like Pippy360 for images and Chromaprint for music, and then allow external APIs be called for IQDB-like file search and hash download capabilities. (requires APIs for uploads first)

4. Headless Drone API

Headless "master+drone" Hydrus APIs, that allows one "master" to distribute downloader scripts and "download orders" to them, and the "drones" will return either downloaded images and tags, or an error message, back to the "master"

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

3550c4 (2) No.11764>>11843

Also having an API similar to this would be useful https://github.com/mserajnik/hydrusrv/blob/master/API.md

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1a745b (5) No.11802

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1a745b (5) No.11843

>>11764

This is a one-upping https://github.com/rr-/szurubooru/blob/master/API.md now THIS is an API that we can learn from

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1dd852 (3) No.12269

bumping this so that we can discover more uses of API better.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1a745b (5) No.12467>>12474


The Kinoshita Collection Danbooru { "id":3382448, "source":"https://i.pximg.net/img-original/img/2019/01/13/00/12/24/72630169_p7.jpg", "md5":"d5a650a70fca03ff391b50fc255dcb26", "rating":"s", "image_width":550, "image_height":770, "tag_string":"1girl :o ahoge bangs blue_eyes blue_hair blue_ribbon blue_skirt braid breasts collared_shirt eyebrows_visible_through_hair hair_ribbon juliet_sleeves kazutake_hazano long_sleeves looking_at_viewer parted_lips puffy_sleeves ribbon shiro_seijo_to_kuro_bokushi shirt short_hair sidelocks simple_background skirt solo underbust upper_body white_background white_shirt", "file_ext":"jpg", "has_large":false, "tag_string_general":"1girl :o ahoge bangs blue_eyes blue_hair blue_ribbon blue_skirt braid breasts collared_shirt eyebrows_visible_through_hair hair_ribbon juliet_sleeves long_sleeves looking_at_viewer parted_lips puffy_sleeves ribbon shirt short_hair sidelocks simple_background skirt solo underbust upper_body white_background white_shirt", "tag_string_character":"", "tag_string_copyright":"shiro_seijo_to_kuro_bokushi", "tag_string_artist":"kazutake_hazano", "file_url":"https://danbooru.donmai.us/data/d5a650a70fca03ff391b50fc255dcb26.jpg", "large_file_url":"https://danbooru.donmai.us/data/d5a650a70fca03ff391b50fc255dcb26.jpg", "preview_file_url":"https://raikou4.donmai.us/preview/d5/a6/d5a650a70fca03ff391b50fc255dcb26.jpg" } Moebooru (JPEG is the file of Danbooru) { "id":276945, "tags":"ama_mitsuki brown_eyes brown_hair gloves hat original panties pantyhose skirt underwear", "source":"https://www.pixiv.net/member_illust.php?mode=medium\u0026illust_id=72633703", "md5":"a0f138e4c0e07cf9e643407bf6019d8e", "file_size":1231960, "file_url":"https://konachan.com/image/a0f138e4c0e07cf9e643407bf6019d8e/Konachan.com%20-%20276945%20ama_mitsuki%20brown_eyes%20brown_hair%20gloves%20hat%20original%20panties%20pantyhose%20skirt%20underwear.png", "preview_url":"https://konachan.com/data/preview/a0/f1/a0f138e4c0e07cf9e643407bf6019d8e.jpg", "preview_width":150, "preview_height":118, "actual_preview_width":300, "actual_preview_height":235, "jpeg_url":"https://konachan.com/jpeg/a0f138e4c0e07cf9e643407bf6019d8e/Konachan.com%20-%20276945%20ama_mitsuki%20brown_eyes%20brown_hair%20gloves%20hat%20original%20panties%20pantyhose%20skirt%20underwear.jpg", "jpeg_width":1100, "jpeg_height":863, "rating":"q", "status":"pending", "width":1100, "height":863, }

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1a745b (5) No.12468>>12474


The Bisimplex collection Danbooru { "id":3382448, "score":1, "source":"https://i.pximg.net/img-original/img/2019/01/13/00/12/24/72630169_p7.jpg", "md5":"d5a650a70fca03ff391b50fc255dcb26", "rating":"s", "image_width":550, "image_height":770, "tag_string":"1girl :o ahoge bangs blue_eyes blue_hair blue_ribbon blue_skirt braid breasts collared_shirt eyebrows_visible_through_hair hair_ribbon juliet_sleeves kazutake_hazano long_sleeves looking_at_viewer parted_lips puffy_sleeves ribbon shiro_seijo_to_kuro_bokushi shirt short_hair sidelocks simple_background skirt solo underbust upper_body white_background white_shirt", "file_ext":"jpg", "last_noted_at":null, "parent_id":null, "has_children":false, "has_large":false, "is_favorited":false, "tag_string_general":"1girl :o ahoge bangs blue_eyes blue_hair blue_ribbon blue_skirt braid breasts collared_shirt eyebrows_visible_through_hair hair_ribbon juliet_sleeves long_sleeves looking_at_viewer parted_lips puffy_sleeves ribbon shirt short_hair sidelocks simple_background skirt solo underbust upper_body white_background white_shirt", "tag_string_character":"", "tag_string_copyright":"shiro_seijo_to_kuro_bokushi", "tag_string_artist":"kazutake_hazano", "tag_string_meta":"", "file_url":"https://danbooru.donmai.us/data/d5a650a70fca03ff391b50fc255dcb26.jpg", "large_file_url":"https://danbooru.donmai.us/data/d5a650a70fca03ff391b50fc255dcb26.jpg", "preview_file_url":"https://raikou4.donmai.us/preview/d5/a6/d5a650a70fca03ff391b50fc255dcb26.jpg" } Moebooru { "id":276945, "tags":"ama_mitsuki brown_eyes brown_hair gloves hat original panties pantyhose skirt underwear", "source":"https://www.pixiv.net/member_illust.php?mode=medium\u0026illust_id=72633703", "score":12, "md5":"a0f138e4c0e07cf9e643407bf6019d8e", "file_url":"https://konachan.com/image/a0f138e4c0e07cf9e643407bf6019d8e/Konachan.com%20-%20276945%20ama_mitsuki%20brown_eyes%20brown_hair%20gloves%20hat%20original%20panties%20pantyhose%20skirt%20underwear.png", "preview_url":"https://konachan.com/data/preview/a0/f1/a0f138e4c0e07cf9e643407bf6019d8e.jpg", "preview_width":150, "preview_height":118, "sample_url":"https://konachan.com/jpeg/a0f138e4c0e07cf9e643407bf6019d8e/Konachan.com%20-%20276945%20ama_mitsuki%20brown_eyes%20brown_hair%20gloves%20hat%20original%20panties%20pantyhose%20skirt%20underwear.jpg", "sample_width":1100, "sample_height":863, "jpeg_url":"https://konachan.com/jpeg/a0f138e4c0e07cf9e643407bf6019d8e/Konachan.com%20-%20276945%20ama_mitsuki%20brown_eyes%20brown_hair%20gloves%20hat%20original%20panties%20pantyhose%20skirt%20underwear.jpg", "jpeg_width":1100, "jpeg_height":863, "rating":"q", "has_children":false, "parent_id":null, "width":1100, "height":863 }

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

1a745b (5) No.12469>>12474


The Andy iOS collection

Danbooru
created_at: Date string in the format "yyyy-MM-dd HH:mm:ss"
rating: possible values - e, s, u, q
md5: string
height: Int
width: Int
preview_url: URL
large_file_url: URL
sample_height: Int sample_width: Int
tags: STring with tags, each tag separated with spaces
id: Int source: URL, String, or nothing

Moebooru
created_at: (This should return the number of seconds since the epoch and be a number)
rating: possible values - e, s, u, q
md5: String
height: Int
width: Int
file_url: You should try to return the full URL, including the protocol and host name (the app tries to build it when they are missing)
preview_url: Same as above
sample_height: Int
sample_url: string
tags: String with tags, all separated by spaces.
id: Int
source: Where the image comes from. Can be a url, string, or missing

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

47ce0f (1) No.12474

>>12467

>>12468

>>12469

Really? https://pastebin.com/vzQTRFaa since ghostbin is shutting down

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Screencap][Nerve Center][Random][Update] ( Scroll to new posts) ( Auto) 5
10 replies | 0 images | 4 UIDs | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ r8k / ck / wooo / fit / random / fast / fit / join / magali / pyw / warroom / wmafsex / wtp ][ watchlist ]