![]() The static search method will return a list of hashes. If theĬharacter name you are searching for is _that_ ambiguous, then just fucking delete it and ![]() # display both on a screen for the user to pick, then load the right character by IDĬharacter = FFXIVLodestone::Character.new(char_id)Ĭaveat: This will only display the first page of search results (so maximum 40). Wish to use the search method and allow your user to pick the correct character, then load itīy ID, as demonstrated by this psuedo-code:Ĭhars = FFXIVLodestone::arch(:name => 'Lady G', :world => 'Figaro') In theĮvent that the search has more than one result, an AmbiguousNameError will be raised. Look up a character with a simple name, like 'Ab Lo', you get multiple search results. Character search has no way of specifying that you want to search for an exact name. Lodestone's character search is slow to index new characters. Your first search and use that for subsequent requests.Ģ. If youĪre integrating this in to forums or something, you ought to store the character_id number after This involves two HTTP GETs - one for the search page, and one for the profile page. :siren: THERE ARE A NUMBER OF CAVEATS INVOLVED IN LOADING-BY-NAME :siren: 1. new ( :name => ' Ayeron Lifebloom ', :world => ' Figaro ' ) If you're doing name/world, you MUST specify both of these options of you will get an exception. However, you can also search by name and world. In its most simplistic instantiation, Character.new with the cicuid from that URL: require ' rubygems ' require ' ffxiv-lodestone ' char = FFXIVLodestone :: Character. This isn't a dependency because I don't know of a way to specify an either-or (json-pure or json the native extension) dependency. You will need to install the json (pure or extension) gem too. She ain't pretty, but it's decently robust. Any new attributes, skills, of general pieces of profile data should automatically be handled by this library. The aim is to not break if SquareEnix adds new pieces of data to the page. The Lodestone pages are a huge pile of shit, so this will save you a few hours of hating your life while you write a screen scraper. This will hide all your rankings in public listings and cause your character to become unsearchable.This is a screen scraper for the FFXIV community side, Lodestone. You can hide the visibility of your characters under Claimed Characters in the profile settings using the visibility columns. When parses of your fights get uploaded without your permission, this can be very frustrating. We understand that privacy is important to many players. You can remove a synced character under Claimed Characters in the profile settings using the X icon in the “delete” column. ![]() Please be sure to include your old and new character information in the request. If you are from one of these regions, you will need to send in a support ticket to in order to merge your characters. If this does not work for you, you can send in a support ticket to Please be sure to include your old and new character information in the request. This process may not be instant- please give it some time. Your rankings and logs will be merged to your new character. The site will automatically update your character for you. Updating a Renamed or Transferred Character Here is a quick video explaining the process.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |