Niamey was probably founded during the 18th century . It was of little importance until the French created a colonial post there in the 1890s . Niamey was probably founded in the eighteenth century , but was of little importance to most of the country until the French developed a colonial post in the 1890s .