Coder Social home page Coder Social logo

poe-horticraft-pricing's Introduction

Horticraft Pricing

Automatically fetch Horticraft Stations from your stash and generate suggested pricing notes for them based on Horticrafting Station crafts currently listed for sale on forbiddenharvest.com.

Caveats

Right now the automatic pricing is a very quick-and-dirty selection of the currently cheapest listed craft. I plan to enhance the capabilities based on looking at the N cheapest listings as well as considering craft ilevel. You can look at the raw data after the price suggestions to decide if you think the suggestion is reasonable.

Requirements

  • Ruby (developed with 2.7.1 but it should work with some older verisons no worries)

Setup

  • Clone the repository
  • bundle install

Run

  • ruby run.rb

Screenshots

Enter your details and select what tab contain your Horticrafting Stations

Select Tab

Suggested list price notes that match the location of the stations with the tab

Pricing Note

Raw pricing data showing the cheapest three listings as well as that craft's ilevel and the sellers vouch count

Raw Craft Data

poe-horticraft-pricing's People

Contributors

jamesbrooks avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ggilet valodyjb

poe-horticraft-pricing's Issues

Runtime error

Hey I was testing out this app, and ran into following error.

 Traceback (most recent call last):
         10: from run.rb:9:in '<main>'
          9: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_pricing.rb:22:in 'run'
          8: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_pricing.rb:29:in 'display_suggested_station_pricing'
          7: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_pricing.rb:29:in 'with_object'
          6: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_pricing.rb:29:in 'each'
          5: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_pricing.rb:30:in 'block in display_suggested_station_pricing'
          4: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_station.rb:10:in 'suggested_pricing_note'
          3: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_station.rb:10:in 'map'
          2: from C:/GitHub/poe-horticraft-pricing/lib/horticrafting_station.rb:10:in 'block in suggested_pricing_note'
          1: from C:/Ruby27-x64/lib/ruby/2.7.0/forwardable.rb:235:in 'cheapest_price'
 C:/GitHub/poe-horticraft-pricing/lib/craft.rb:17:in 'cheapest_price': unknown currency EX (RuntimeError)

Blank Prices should be `-` for `0` not blank spaces

Hi,

I see in the screenshot that you are doing #//2ex or #1ex//10c

The correct semantics should be #-/-/2ex for #0/0/2ex.
The current format you are doing (#//2ex) will result in pricing the first craft in the station as 2ex.

Just to point, I'm the creator of forbidden harvest.

By the way: THIS IS AWESOME!!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.