Shodan integration not working

I tried to use Shodan - Home Assistant.

I have an account and tried to add it in my configuration.yaml.

sensor:
  - platform: shodan
    api_key: 6ys8TjVcZOdjsdkjSFSDFBOGfMlhBO
    query: "something.com"
    name: shodan

(API key not accurate, just for reference!)

nothing happens… no sensors, no logging. Any suggestion?

Hello,
You must uset query string. for example:

query: "hostname:something.com"

This query created sensor with value how many found result of search on web site shodun.

You can try your query there

https://beta.shodan.io/search?query=hostname%3Asomething.com

more query example are there

I currently don’t know how to use it more. if someone has an idea, I’d be happy for examples of use.