Tay Posted June 27, 2013 Posted June 27, 2013 There's not a lot I can do in terms of practical help here, but in terms of emotional support: Wow. You guys are awesome for continuing this. JeMhuNtEr's mock up is really something. Way to go, and don't hesitate to ask for help if you need it. Quote
solidbatman Posted August 9, 2013 Posted August 9, 2013 FuwanViewer is retired with the recent updates to the site and won't work as far as I know. Quote
ilegend Posted August 9, 2013 Author Posted August 9, 2013 https://twitter.com/almightynay/status/364702281918185473 With the revamp of the new Fuwanovel website, the API has retired. If you guys still want a FuwanViewer application, you can help me bug Nayleen to grant us with a new API, then bug me in this thread so I know that you guys want it as well, then we can get started.. Quote
Nayleen Posted August 9, 2013 Posted August 9, 2013 Readding the API is something I'd love to do, so there's no need to bug me for it. Just that Aaeru has some features she'd like to see first and soon(ish) on the site. Quote
shcboomer Posted August 9, 2013 Posted August 9, 2013 I'd love to see a new version of FuwanViewer, just wanted to let you guys know. Quote
ilegend Posted August 9, 2013 Author Posted August 9, 2013 Readding the API is something I'd love to do, so there's no need to bug me for it.Just that Aaeru has some features she'd like to see first and soon(ish) on the site.Sure, sure, take your time and make the site beautiful~ I still need to settle a few of my school projects which is currently taking nearly all my time orz Anyways, I've been trying out a new UI look for FuwanViewer before the revamp, so there'll highly be a new look for it~ Quote
Kawaii Pantsu Posted August 10, 2013 Posted August 10, 2013 Yay a new an improved FuwanViewer!! Can't wait. Keep up the Great work all!! LOVE THE NEW LOOK OF THE SITE! Quote
Kreweta Posted August 10, 2013 Posted August 10, 2013 I've been playing with WPF and Blend for VS recently too, so if you'd like some hand Ilegend I'd be very glad to help. I am on holidays now, so there is not much for me to do Quote
ilegend Posted August 10, 2013 Author Posted August 10, 2013 I've been playing with WPF and Blend for VS recently too, so if you'd like some hand Ilegend I'd be very glad to help. I am on holidays now, so there is not much for me to do Sure thing, an extra hand is always appreciated! I've been wanting to implement the UI in WPF for the longest time now, but anyway we'll have to first wait for the new API so that more options will open up to developers~ For example, how nice it would be if the API could provide Android Phones with a Fuwa App the capability to directly download the .apk files from Fuwanovel (if it ever hosts them) and install them onto the device.. Quote
molitar Posted August 22, 2013 Posted August 22, 2013 Great! Can't wait to see the next version! I miss this program so much! Quote
Kreweta Posted August 23, 2013 Posted August 23, 2013 So.... I believe me and Ilegend will rewrite the FuwanViewer in WPF. We haven't really starting coding yet, but we've already decided about the new features we want to add: sync with VNDB userBlacklist for VNs you don't want to see New layoutsome caching mechanism, (was it there before?)support for themes and theme creation tool Thats all we came up with, but perhaps you guys may have some ideas. If you want us to implement some feature, it is the best time to tell us Here is a link to a little sketch of the application, play around with it and give us some feedback guys meru 1 Quote
Kuky_nekoi Posted October 10, 2013 Posted October 10, 2013 I can join into this too? or i'm too late...? :c Quote
Kreweta Posted October 14, 2013 Posted October 14, 2013 I bet you can. Sorry for late response, but I didn't get email notification... gotta turn it on again. Send a mail to Ilegend, he's the project leader. We've some skeleton up already, so now it's time to implement fun things. Although, I've started a work recently, on top off attending school, and don't know how much time I will have. Quote
Kuky_nekoi Posted November 8, 2013 Posted November 8, 2013 My response was really late~ XDD Â Mmm... can you send his email please? (If i can join now..xD) I'll send you a pm. Quote
Nayleen Posted November 13, 2013 Posted November 13, 2013 Started work on the API today (yay for being way late). Quote
Nayleen Posted November 13, 2013 Posted November 13, 2013 Double post for visibility.  You guys can help me out with your requirements / wishes for the new API. I know C# likes its XML, but I want to go with JSON only for the first iteration. Might introduce XML later through content negotiation.  A few design choices already made: Basic HTTP authentication required (fields: username and password) Read-only for now, so only GET requests (for you who didn't know, the old API had many open endpoints for POSTing and PUTing data, completely vulnerable) URLs to pages, images and torrents will be provided by the API, so no need to build them yourself  Planned API endpoints so far: /api/v1 - returns JSON collection of possible endpoints (anything below this) /api/v1/novels - returns JSON collection of all visual novels - not sure whether to put the complete payload here or just a few basics + link to the complete data /api/v1/novels/{id} - returns the full JSON representation of a visual novel as it is in our database, including images array and link to torrent /api/v1/torrents - returns JSON collection of all torrents, including links /api/v1/torrents/{id} - returns JSON representation of a torrent, which includes its link, download size and installation / JP locale requirements  How would you like dates to be represented, since JSON is absolutely stupid when it comes to them? Thinking of ISO8601, as in "YYYY-MM-DDTHH:ii:SSZ" => "2013-11-13T13:04:00Z" for right now (all dates are UTC).  Keeping it slim for the first iteration, but it'll grow over time when project management features are done - we'll have /users/ and /projects/ endpoints as well then. When we're at that point we'll make a version jump to v2 because we'll have to work with tokens for POSTing or PUTing data. Quote
Kreweta Posted November 14, 2013 Posted November 14, 2013 Hey Nayleen,  Thanks for asking for our wishes, but I am very happy to say... that we don't really have much.  About format, I can say that JSON is absolutelly fine with us. I don't see any advantages in using XML. In regards to endpoints... as long as we get a complete list (/api/v1/novels) and detailed VN information (/api/v1/novels/{id}) that will be enough. If I were you, I'd put only Ids in /novels, we'll most likely fetch all the data anyway. One thing that you could add though, is to add Last-modified header to each response, this way we could cut some updates here and there.   The users endpoints sounds really cool and we could certainly use that later too. Quote
Nayleen Posted November 15, 2013 Posted November 15, 2013 That's a good idea, even though I had server-side caching in mind already we could always have client side as well through Last-Modified and HEAD requests. I'll implement those as well.  The collections currently return only basic and very slim information to help with finding the right detailed information to get, like this (not URLs are generated for my local dev system, those will obviously return the proper values on our server):  Gist of the current return of /api/v1/novels  Context will hold the url to the full, detailed view as a rule of thumb for all collections. Quote
Nayleen Posted November 15, 2013 Posted November 15, 2013 Another double-post for visibility, another Gist for you to inspect.  Gist of Katahane's JSON representation  Probably going to just link to the torrent as soon as I'm done with those two routes. But that's what will be in the torrent entity as well (+ link back to the VN a torrent belongs to). Quote
Kreweta Posted November 15, 2013 Posted November 15, 2013 Yup. I can see a lot of data flowing around )) Â In case someone would like to know how is FuwanViewer progressing, we're at point where old FuwanViewer was (but using WPF). Right now we'll be working on new features... I don't know when we'll be done, but eventuallly it will. We'll not let it die. Quote
Nayleen Posted November 15, 2013 Posted November 15, 2013 Any questions / things that one of you thinks need to be changed so far? Quote
REtransInternational Posted November 18, 2013 Posted November 18, 2013 How would you like dates to be represented, since JSON is absolutely stupid when it comes to them? Thinking of ISO8601, as in "YYYY-MM-DDTHH:ii:SSZ" => "2013-11-13T13:04:00Z" for right now (all dates are UTC).There's no better format than '8601... although if you're looking for something easier to parse/less error cases then maybe omit the separators since they're otherwise useless: YYYYMMDDHHMMSS Quote
Nayleen Posted November 18, 2013 Posted November 18, 2013 Yep, it's just the most sane and still human-readable format. Quote
Nayleen Posted November 18, 2013 Posted November 18, 2013 Alright, finished v1 up for you guys. I just need to disable output compression for JSON because I want it human-readable, the server can handle the additional few bytes load. Â https://fuwanovel.net/api/v1Â as a starting point. Â Edit: To get complete collections, provide the GET parameter full, like this: Â https://fuwanovel.net/api/v1/novels?full=1 Â Any changes should be brought up before we actually use this in any application - now is the time to make any last-second changes. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.